Open
Conversation
This adds a make target for compile_commands.json, for use with CoQ or other similar utilities. Signed-off-by: Peter Jones <pjones@redhat.com>
This means you can use --verbose=2 for things that don't just dump data. Signed-off-by: Peter Jones <pjones@redhat.com>
This fixes and works around a few minor issues, of this variety: - obnoxious whitespace - clangd getting confused Signed-off-by: Peter Jones <pjones@redhat.com>
This adds "efibootmgr --query", which can be used in conjunction with "--bootnum N" or "--label LABEL". When envoked this way, efibootmgr will return success if any boot variable with either the supplied number or label exists, and failure if it does not. Signed-off-by: Peter Jones <pjones@redhat.com>
This adds two options, "--show-order-position" and "--show-bootnum", which can be used with "efibootmgr --query". With "--show-bootnum", efibootmgr will list, one per line, all the numbers of boot entries which correspond with the label provided with "--label" (or, less usefully, the number provided with "--bootnum"). With "--show-order-position", efibootmgr will list, one per line, the 0-indexed position of any matching entries in the BootOrder variable. Signed-off-by: Peter Jones <pjones@redhat.com>
This adds the ability to use "--append-order" (or "--index -1") with "efibootmgr -c" to append to BootOrder. Signed-off-by: Peter Jones <pjones@redhat.com>
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.
This adds some convenience features (as well as a few minor housekeeping patches):
efibootmgr --query -L "label"-exit success if present, failure if notefibootmgr --query -b 0001-exit success if present, failure if notefibootmgr --query [-L label | -b num] --show-order-position- list the indices in the boot order where the specified entry is presentefibootmgr --query -L label --show-bootnum- show the bootnum for all entries with a given labelefibootmgr -c ... --append-order- add new entry to the end of the boot order