From a998a513b7eb78c8f089e080da42969e1216f7b2 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Mon, 25 Apr 2022 18:33:01 +0200 Subject: [PATCH] proxmox-boot: fix #3729 add --graceful to bootctl invocation The version of systemd boot in bullseye, tries writing an efivar which is not writeable on certain (broken) UEFIs (HP thin clients). The issue was not present in the version in buster (the variable simply did not get written) and can be worked around by adding --graceful to the `bootctl install` command. see also: https://github.com/systemd/systemd/issues/13603 Signed-off-by: Stoiko Ivanov --- bin/proxmox-boot-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/proxmox-boot-tool b/bin/proxmox-boot-tool index fb4e320..6c0ae4f 100755 --- a/bin/proxmox-boot-tool +++ b/bin/proxmox-boot-tool @@ -153,7 +153,7 @@ init() { if [ -d /sys/firmware/efi ]; then echo "Installing systemd-boot.." mkdir -p "$esp_mp/$PMX_ESP_DIR" - bootctl --path "$esp_mp" install + bootctl --graceful --path "$esp_mp" install echo "Configuring systemd-boot.." echo "timeout 3" > "$esp_mp/$PMX_LOADER_CONF.tmp"