Skip to content

efibootmgr: fix setting boot order with orphaned entries#498696

Open
compguy284 wants to merge 1 commit into
NixOS:masterfrom
compguy284:efibootmgr
Open

efibootmgr: fix setting boot order with orphaned entries#498696
compguy284 wants to merge 1 commit into
NixOS:masterfrom
compguy284:efibootmgr

Conversation

@compguy284
Copy link
Copy Markdown

@compguy284 compguy284 commented Mar 11, 2026

Summary

Some firmware adds entries to BootOrder that don't have corresponding Boot#### variables. This caused a fatal error when using efibootmgr -o to set the boot order. This applies the upstream patch from rhboot/efibootmgr#228 to downgrade the error to a warning, so users can still manage the boot order in this case.

This was needed on my system after #409409

Test plan

  • Built the package locally
  • Verified efibootmgr -o succeeds with orphaned boot entries in the boot order

Some firmware adds entries to BootOrder that don't have corresponding
Boot#### variables. This caused a fatal error when using -o to set the
boot order. Apply upstream patch to downgrade to a warning so users can
still manage the boot order in this case.

rhboot/efibootmgr#228
@nixpkgs-ci nixpkgs-ci Bot requested a review from getchoo March 11, 2026 01:50
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 12.first-time contribution This PR is the author's first one; please be gentle! labels Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant