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

Don't adopt systemd boot loaders #462

Merged
merged 2 commits into from
May 5, 2023

Commits on May 5, 2023

  1. efi: Skip adopting for systemd-boot and systemd-stub

    If the system is booted with systemd-boot or systemd-stub then `bootctl`
    will handle updating the boot components. Both of these components write
    identifying information to EFI variables as NUL terminated UTF-16
    strings. Check these variables to detect if either systemd-boot or
    systemd-stub are in use and skip adoption if so.
    dbnicholson authored and cgwalters committed May 5, 2023
    Configuration menu
    Copy the full SHA
    4debd1c View commit details
    Browse the repository at this point in the history
  2. efi: Allow /boot as the ESP

    Some systems use the ESP as the entire `/boot` filesystem. This check
    needs to go before `boot/efi` since that would also detect the FAT
    filesystem but would expect the `EFI` directory at `/boot/efi/EFI`
    instead of `/boot/EFI`. A more typical system with the ESP mounted at
    `/boot/efi` would not have use FAT for the `/boot` filesystem and would
    be skipped in this check.
    dbnicholson authored and cgwalters committed May 5, 2023
    Configuration menu
    Copy the full SHA
    8c5d4e7 View commit details
    Browse the repository at this point in the history