Unverified Commit 20895e99 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Remove hpet flag (#367)

parent 5c637923
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+0 −8
Original line number Diff line number Diff line
@@ -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