Skip to content

Introduce ".loader" section manifesting the default next boot target - #826

Open
vittyvk wants to merge 1 commit into
rhboot:mainfrom
vittyvk:default_loader_section_v1_rb
Open

Introduce ".loader" section manifesting the default next boot target#826
vittyvk wants to merge 1 commit into
rhboot:mainfrom
vittyvk:default_loader_section_v1_rb

Conversation

@vittyvk

@vittyvk vittyvk commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Offline PCR prediction without fallback CSV file (or with CSV file specifying just shim itself) requires the knowledge of the next boot target after shim. While this is normally "grub{arch}.efi" in the vendor directory where shim binary is (or just in 'BOOT'), it is also customizable via DEFAULT_LOADER. Introduce a new section in shim binary and export the information explicitly.

Offline PCR prediction without fallback CSV file requires the knowledge of
the next boot target after shim. While this is normally "grub{arch}.efi" in
the vendor directory where shim binary is (or just in 'BOOT'), it is also
customizable via DEFAULT_LOADER. Introduce a new section in shim binary and
export the information explicitly.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.77%. Comparing base (72fd4b7) to head (f4ef206).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #826      +/-   ##
==========================================
- Coverage   59.48%   58.77%   -0.71%     
==========================================
  Files          24       24              
  Lines        4226     4226              
  Branches      655      654       -1     
==========================================
- Hits         2514     2484      -30     
  Misses       1471     1471              
- Partials      241      271      +30     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant