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

Add configuration option to boot an alternative 2nd stage #608

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 29, 2023

  1. Create utils file

    Move some functions currently used within fallback that will later also
    be used in shim.
    
    Signed-off-by: Eric Snowberg <[email protected]>
    esnowberg committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    5d21788 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Add configuration option to boot an alternative 2nd stage

    Add the ability for shim to load an optional configuration file.  This
    new file is called "options.csv".  The configuration file is completely
    optional. If used, it is located in the same directory as the booted
    shim.  The "options.csv" file currently allows a single entry.  Other
    options could be added to it in the future.  The first and only entry in
    the file is the name of the secondary boot loader shim will load. The
    "options.csv" file is in Unicode LE format.
    
    This allows a signed shim to directly load a UKI without the need to
    rename it to grub. Shim's transitive trust is maintained. If the
    alternative 2nd stage can not be verified, it will not boot.
    
    Signed-off-by: Eric Snowberg <[email protected]>
    esnowberg committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b231c8e View commit details
    Browse the repository at this point in the history