From 427ba244ce29bbee3971bf51f665d0237e1c3bda Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 5 Oct 2024 15:42:18 +0200 Subject: [PATCH] fix: Do not store display device (#777) --- src/install.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/install.sh b/src/install.sh index e9ce4da..a1c290a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -156,10 +156,6 @@ finishInstall() { fi fi - if [ -n "${VGA:-}" ] && [[ "${VGA:-}" != "virtio" ]] && [[ "${VGA:-}" != "ramfb" ]]; then - echo "$VGA" > "$STORAGE/windows.vga" - fi - if [ -n "${DISK_TYPE:-}" ] && [[ "${DISK_TYPE:-}" != "scsi" ]]; then echo "$DISK_TYPE" > "$STORAGE/windows.type" fi @@ -980,12 +976,6 @@ bootWindows() { rm -rf "$TMP" - if [ -s "$STORAGE/windows.vga" ] && [ -f "$STORAGE/windows.vga" ]; then - [ -z "${VGA:-}" ] && VGA=$(<"$STORAGE/windows.vga") - else - [ -z "${VGA:-}" ] && [[ "${PLATFORM,,}" == "arm64" ]] && VGA="virtio-gpu" - fi - if [ -s "$STORAGE/windows.type" ] && [ -f "$STORAGE/windows.type" ]; then [ -z "${DISK_TYPE:-}" ] && DISK_TYPE=$(<"$STORAGE/windows.type") fi