Repository navigation
hardware: Ubuntu routes boot on UEFI as on BIOS - #84
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 598db2e03a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…rt and refuses it trusty-web, trusty-db and trusty-web-updated passed trusty -> resolute on OVMF without Secure Boot (tools/vm.py --uefi), rebooting onto UEFI at every hop with network and checks kept. adapters/ubuntu.toml's [hardware].boot is now ["bios", "uefi"]; Debian and EL stay BIOS (etch and CentOS 5 can't install or boot on x86-64 UEFI; the CentOS 7 route waits on #75). Facts (schema wend.hardware/3) report boot as bios, uefi, or uefi-secureboot when the firmware's SecureBoot variable says on or can't be read (efivarfs or the older sysfs vars): a Secure Boot chain is its own claim, so no adapter names it and preflight refuses it on every route. Both checkers accept the three values. On UEFI, vm.py records each hop's boot chain (efibootmgr -v and the hash of every .efi on the system partition). Refs #13, #46 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
598db2e to
8c167c4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8c167c44e7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… reads it (review) OVMF's non-secboot build, like older UEFI firmware, never creates the SecureBoot variable, so the first firmware() refused the very machines the replays proved. It now reads as the kernel's EFI stub does: with a variable store to read, a missing SecureBoot is off; only no readable store fails closed. wend facts in real xenial and resolute UEFI guests from the trusty-web-updated run reports boot uefi. vm.py's EFI chain keeps the disk boot entries (BootCurrent, BootOrder, HD paths) and records the chain the first hop starts from; the adapter comment names all three boxes; doc comments are back on their functions. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
…a missing one is off (review) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c45c0865ca
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…view) Signed-off-by: Peter Permenter <[email protected]> Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Peter Permenter <[email protected]>
|
Claude review: signed off on 937da13 (independent, read-only, fresh context). This head merges main 3a45fae into 2e6ea58, which was signed off along with c45c086.
|
…from CI Review of 9b706a0 found that centos8-lamp passed the VM tier (#92), that the VM results are per box rather than per route (#84 for UEFI), and that the intro and layout still said every run came from CI. The client line now includes preflight. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
Requested by Peter
Before:
wend preflightrefused every UEFI machine. Every adapter saidboot = ["bios"], because the VM tier could only boot guests by BIOS. Facts reported UEFI from/sys/firmware/efialone, so a Secure Boot machine looked the same as any other UEFI machine.After:
How:
adapters/ubuntu.toml:[hardware].bootis["bios", "uefi"].wend.hardware/3.bootis one of:biosuefiuefi-secureboot, when the firmware'sSecureBootvariable says on, or no variable store can be read (efivarfs or the older sysfsvars). A store without aSecureBootvariable means off, which is how the kernel's EFI stub reads it: OVMF's non-secboot build and older UEFI firmware never create the variable.uefi-secureboot, because no replay has walked shim, signed GRUB and signed kernels under enrolled keys.tools/vm.py: on UEFI it records each hop's boot chain:efibootmgr -vand the hash of every.efion the ESP.bootcomments are updated to match.uefi-secureboot;firmware()reads both interfaces and fails closed when nothing is readable.Evidence (wend#13, real VMs on remi, OVMF without Secure Boot)
All three of the route's boxes passed trusty -> resolute on UEFI from scratch. Every hop rebooted onto UEFI (
firmware uefi) and kept its network and checks.trusty-esm-pinsat xenial.\EFI\ubuntu\grubx64.efiwith no shim at xenial and bionic, and its grubx64.efi changes at every hop. Those runs predate two changes: the chain record now keeps BootCurrent, BootOrder and the disk entries, which were cut off on the last hops, and it records the chain the first hop starts from.wend factsfrom this head reports"boot": "uefi"(wend.hardware/3) inside xenial and resolute guests booted from trusty-web-updated's run. Those guests' kernels log "Secure boot disabled", and noSecureBootvariable exists.wend checkwend checkRefs #13, #46
🤖 Generated with Claude Code