1
0
Эх сурвалжийг харах

feat: Enable secure boot on multi-socket systems (#535)

Kroese 1 жил өмнө
parent
commit
0971fb7492
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      src/install.sh

+ 5 - 0
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