mirror of
https://git.proxmox.com/git/proxmox-kernel-helper
synced 2025-10-04 08:21:14 +00:00
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 <s.ivanov@proxmox.com>
This commit is contained in:
parent
814105cf85
commit
a998a513b7
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user