Skip to content

Commit

Permalink
fix: Remove hpet flag (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jan 21, 2024
1 parent 5c63792 commit 20895e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 20895e9

Please sign in to comment.