efibootmgr: fix setting boot order with orphaned entries#498696
Open
compguy284 wants to merge 1 commit into
Open
efibootmgr: fix setting boot order with orphaned entries#498696compguy284 wants to merge 1 commit into
compguy284 wants to merge 1 commit into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Some firmware adds entries to BootOrder that don't have corresponding Boot#### variables. This caused a fatal error when using
efibootmgr -oto 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
efibootmgr -osucceeds with orphaned boot entries in the boot order