From 9fc33e70e4c3e78f933a203d096c9ba59fc62128 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 21 Jan 2024 23:59:15 +0100 Subject: [PATCH 1/2] fix: Remove hpet flag --- src/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.sh b/src/boot.sh index 8a766347..750f51fb 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -58,7 +58,7 @@ if [[ "${BOOT_MODE,,}" != "legacy" ]]; then BOOT_OPTS="$BOOT_OPTS -chardev socket,id=chrtpm,path=/dev/shm/tpm/swtpm-sock" BOOT_OPTS="$BOOT_OPTS -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0" - BOOT_OPTS="$BOOT_OPTS -no-hpet -global kvm-pit.lost_tick_policy=discard -global ICH9-LPC.disable_s3=1" + BOOT_OPTS="$BOOT_OPTS -global kvm-pit.lost_tick_policy=discard -global ICH9-LPC.disable_s3=1" mkdir -p /dev/shm/tpm swtpm socket -t -d --tpmstate dir=/dev/shm/tpm --ctrl type=unixio,path=/dev/shm/tpm/swtpm-sock --tpm2 From 080e2e86af072d1419b3362069819efc17302e12 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Jan 2024 00:05:04 +0100 Subject: [PATCH 2/2] fix: Filename variations --- src/install.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/install.sh b/src/install.sh index cec7d565..d8e39231 100644 --- a/src/install.sh +++ b/src/install.sh @@ -16,14 +16,6 @@ BASE="boot.img" [ ! -f "$STORAGE/$BASE" ] && BASE="boot.ISO" [ ! -f "$STORAGE/$BASE" ] && BASE="BOOT.IMG" [ ! -f "$STORAGE/$BASE" ] && BASE="BOOT.ISO" -[ ! -f "$STORAGE/$BASE" ] && BASE="custom.iso" -[ ! -f "$STORAGE/$BASE" ] && BASE="custom.img" -[ ! -f "$STORAGE/$BASE" ] && BASE="Custom.iso" -[ ! -f "$STORAGE/$BASE" ] && BASE="Custom.img" -[ ! -f "$STORAGE/$BASE" ] && BASE="custom.ISO" -[ ! -f "$STORAGE/$BASE" ] && BASE="custom.IMG" -[ ! -f "$STORAGE/$BASE" ] && BASE="CUSTOM.ISO" -[ ! -f "$STORAGE/$BASE" ] && BASE="CUSTOM.IMG" [ -f "$STORAGE/$BASE" ] && return 0