Skip to content
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

dracut.sh: add --sbat option to add sbat policy to UKI #2426

Merged
merged 1 commit into from
Aug 5, 2023

Commits on Aug 2, 2023

  1. feat(dracut): add --sbat option to add sbat policy to UKI

    Take existing .sbat section from the uefi stub and merge it
    with vmlinux .sbat (if it exists) and user-provided .sbat parameters
    using the new --sbat option.
    
    For some reasons, --update-section in objcopy does not resize the
    .sbat section, so remove the section from the stub and add it
    to the UKI as new one, to avoid having incomplete SBAT strings.
    
    Signed-off-by: Emanuele Giuseppe Esposito <[email protected]>
    esposem committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    550a008 View commit details
    Browse the repository at this point in the history