-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discover unified kernel images on EFI #119
Conversation
Reopened and ready for comments. Sorry for the mess 😅 |
f9e75a3
to
80ff774
Compare
Improved os-rel parsing. |
80ff774
to
ea41258
Compare
The Boot Loader Interface patches are now upstream: Any comments on this PR are very welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
ea41258
to
ca745d9
Compare
ca745d9
to
3149640
Compare
This avoids compiler warnings in case bls_add_keyval() is called with const char* as arguments. Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Add a new command "blscfg_uki" to the blscfg module. It looks for unified kernel images (UKI) in the locations defined by the Boot Loader Specification. Additionally check on the device indicated by the $root variable. Add all UKIs found to the menu. The UKI are booted using the 'chainloader' command on EFI. Signed-off-by: Oliver Steffen <osteffen@redhat.com>
3149640
to
a4442fb
Compare
@vathpela ping? GitHub still shows one change request as open, although I marked it as resolved. Strange. Rebased and updated PR target branch. |
@vathpela ping? |
The
blscfg
module implements the Boot Loader Specification for "Type 1" entries = configuration snippets.This PR extends this module to also handle "Type 2" entries: unified kernel images (UKI) by adding
a new command "blscfg_uki". It searches for UKI in
/EFI/Linux
on the EFI partition and on$root
(probably
/boot
) and adds them to the menu.