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 support for root=boot (with EFI) and writing UUID file #562

Merged
merged 1 commit into from
Nov 19, 2023

Commits on Nov 11, 2023

  1. Improve EFI, add support for root=boot and writing UUID file

    In FCOS we never tried to support root=boot, but for bootupd
    to do alongside installs in the general case we have to.
    
    There were two things to fix here:
    
     - Tweak the EFI "trampoline" to check for both $prefix/grub.cfg and $prefix/boot/grub.cfg
     - Add support for writing the boot UUID into both places
    
    (This avoids higher level tools like bootupd needing to know
     about how to find the EFI vendor dir)
    
    Then the bigger issue here is that we need to support invoking
    `efibootmgr` to re-synchronize the firmware.  This is particularly
    important in cases like bootc "alongside" installs where we're
    taking over the target OS.
    cgwalters committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    581102a View commit details
    Browse the repository at this point in the history