From 20895e997b4f1f458a5f9788b40659b056c59308 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Jan 2024 00:05:34 +0100 Subject: [PATCH] fix: Remove hpet flag (#367) --- src/boot.sh | 2 +- src/install.sh | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/boot.sh b/src/boot.sh index 8a76634..750f51f 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 diff --git a/src/install.sh b/src/install.sh index cec7d56..d8e3923 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