From 0971fb74928f059e2769dd90961afa36f621cf97 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 23 May 2024 02:38:21 +0200 Subject: [PATCH] feat: Enable secure boot on multi-socket systems (#535) --- src/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/install.sh b/src/install.sh index 52552b9..558b10e 100644 --- a/src/install.sh +++ b/src/install.sh @@ -146,6 +146,11 @@ finishInstall() { echo "$BOOT_MODE" > "$STORAGE/windows.mode" fi fi + # Enable secure boot on multi-socket systems to workaround freeze + if [ -n "$SOCKETS" ] && [[ "$SOCKETS" != "1" ]]; then + BOOT_MODE="windows_secure" + echo "$BOOT_MODE" > "$STORAGE/windows.mode" + fi fi fi