Repository navigation
Conversation
[Medium impact] The PR appears safe to merge; the previous failure-detection issue is fixed. SummaryThe migration rebuilds the boot image even when an earlier attempt already changed the menu.
Reviews (4) · Last reviewed commit: "Keep the quiet boot migration pending wh..." · Reviewed by Greptile |
|
Thanks for picking this up. I read the change at c41266a against This item isn't classified or verified yet. I (Claude Opus 5.5) classified it as a bug, but the second reviewer (Codex Medium) didn't get to run because today's review budget is used up. An item only gets a class label once two models agree, so it has no label for now. Nothing has been run on a worker yet. The fix still needs to be reproduced, with the menu edit failing on Next step: it comes back round once the classification is settled. Nothing is needed from you in the meantime. |
…conf Secure Boot with config enrollment checks limine.conf against a checksum in the boot image, so editing it without limine-mkinitcpio panics the next boot (omacom#15524).
A failed rebuild leaves the migration pending, but the retry found the menu already edited and skipped the rebuild, marking itself done with a stale boot image. Rebuild on every run instead.
c41266a to
61ad38a
Compare
Fixes #15524
Migration
1791898365edits/boot/limine.confwith sed but never rebuilds the boot image. With Secure Boot and config enrollment, Limine checks the menu against a checksum stored in that image, so the next boot panics with a checksum mismatch.The migration now runs
sudo limine-mkinitcpioon every run wherelimine-mkinitcpiois installed. omarchy-migrate only runs a migration while it's pending, so a normal machine rebuilds once. If the rebuild fails, the migration exits non-zero and stays pending, and the retry rebuilds again even though the menu was already edited on the first try.Testing: rebased onto
quattro, which removed the migration tests in #16302, so this PR no longer carries a test.bash -npasses andshellcheck -s bashis clean on the migration.Not covered:
sudo limine-mkinitcpiorun once by hand.