Restore signed boot files when USB boot policy changes fail

This commit is contained in:
acrogenesis committed 2026-09-18 13:30:03 -06:00
1 parent de72b64872
commit e12c8ed452
5 files changed
+320 -9

No files matched your search

+2
View File
@@ -295,6 +295,8 @@ CONF
source "$ROOT/bin/omarchy-usb-authorization-boot"
limine-mkinitcpio() { return 0; }
limine-enroll-config() { return 0; }
# Signed bootloader enrollment and rollback have a dedicated real-PE suite.
usb_authorization_verify_bootloader() { return 0; }
if usb_authorization_rebuild_and_verify enabled "$boot_conf" "$scratch" "$machine_id" enabled 2>/dev/null; then
fail "boot authorization rejects Limine's false-success status when entries were not rebuilt"