summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-11-18 12:34:10 -0500
committerGitHub <noreply@github.com>2023-11-18 12:34:10 -0500
commitb606ebb35508204f7330ed9f3cf1303d3e639d8e (patch)
tree99c180410b23d7bcbcf5f6b8a3d52d76a7933750 /nixos
parentd581fb17d72e918ebe1a30f926ef24e74f776aca (diff)
parentca84c463b9241a2b1e425d5f0d494997919845e9 (diff)
downloadnixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.tar
nixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.tar.gz
nixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.tar.bz2
nixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.tar.lz
nixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.tar.xz
nixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.tar.zst
nixpkgs-b606ebb35508204f7330ed9f3cf1303d3e639d8e.zip
Merge pull request #266990 from ElvishJerricco/systemd-boot-boot-pass-flags-to-update
nixos/systemd-boot: pass EFI variable flags during update too
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py2
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 7d06e0131d9..e2e7ffe59dc 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)