From 1ea5be31227c9e977720a940cc60541bd0e68a79 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 9 Mar 2024 00:07:58 +0100 Subject: [PATCH] Replace bootloader id of secure boot config properly --- scripts/Arch/Config/SecureBoot/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Arch/Config/SecureBoot/install.sh b/scripts/Arch/Config/SecureBoot/install.sh index ae576301..73ee3246 100755 --- a/scripts/Arch/Config/SecureBoot/install.sh +++ b/scripts/Arch/Config/SecureBoot/install.sh @@ -11,6 +11,10 @@ sudo sed -i \ -e "a esp=\"$EFI_BOOT_DIR\"" \ -e "d" \ -e "}" \ + -e "/bootloader_id=/{" \ + -e "a bootloader_id=\"$BOOTLOADER_ID\"" \ + -e "d" \ + -e "}" \ /etc/secureboot.conf; sudo secure-grub-install;