diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2023-11-18 12:34:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-18 12:34:10 -0500 |
commit | b606ebb35508204f7330ed9f3cf1303d3e639d8e (patch) | |
tree | 99c180410b23d7bcbcf5f6b8a3d52d76a7933750 | |
parent | d581fb17d72e918ebe1a30f926ef24e74f776aca (diff) | |
parent | ca84c463b9241a2b1e425d5f0d494997919845e9 (diff) |
Merge pull request #266990 from ElvishJerricco/systemd-boot-boot-pass-flags-to-update
nixos/systemd-boot: pass EFI variable flags during update too
-rw-r--r-- | nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py index 7d06e0131d9d..e2e7ffe59dcd 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py @@ -277,7 +277,7 @@ def install_bootloader(args: argparse.Namespace) -> None: if installed_version < available_version: print("updating systemd-boot from %s to %s" % (installed_version, available_version)) - subprocess.check_call(["@systemd@/bin/bootctl", "--esp-path=@efiSysMountPoint@", "update"]) + subprocess.check_call(["@systemd@/bin/bootctl", "--esp-path=@efiSysMountPoint@"] + bootctl_flags + ["update"]) os.makedirs("@efiSysMountPoint@/efi/nixos", exist_ok=True) os.makedirs("@efiSysMountPoint@/loader/entries", exist_ok=True) |