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 service to ensure systemd-boot installed #385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 13, 2023

  1. Add service to ensure systemd-boot installed

    On systemd-boot systems, the bootloader is updated with `bootctl update`
    on every boot. Unfortunately, it doesn't currently work because
    `bootctl` considers systemd-boot to be installed if `/EFI/systemd` is
    non-empty in the ESP. The image builder only populates `/EFI/BOOT`, so
    systemd-boot is not considered installed.
    
    If `bootctl` does not consider systemd-boot to be installed,
    `eos-ensure-sd-boot` will check the `LoaderInfo` EFI variable to see if
    the current bootloader is systemd-boot. If so, it runs `bootctl install`
    so that the next time `bootctl update` runs, it will update the
    bootloader.
    
    https://phabricator.endlessm.com/T34703
    dbnicholson committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    b0dc2a8 View commit details
    Browse the repository at this point in the history