From 1be6fff506e042a887dca7cac80b9b369ab30d34 Mon Sep 17 00:00:00 2001 From: Foxlet Date: Thu, 25 Apr 2019 16:59:22 -0400 Subject: [PATCH] [TOOLS] Clean up QEMU scripts. --- basic.sh | 3 ++- jumpstart.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/basic.sh b/basic.sh index e0bcaca..4825275 100755 --- a/basic.sh +++ b/basic.sh @@ -1,5 +1,6 @@ #!/bin/bash +OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VMDIR=$PWD OVMF=$VMDIR/firmware #export QEMU_AUDIO_DRV=pa @@ -11,7 +12,7 @@ qemu-system-x86_64 \ -machine q35,accel=kvm \ -smp 4,cores=2 \ -cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc \ - -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \ + -device isa-applesmc,osk="$OSK" \ -smbios type=2 \ -drive if=pflash,format=raw,readonly,file=$OVMF/OVMF_CODE.fd \ -drive if=pflash,format=raw,file=$OVMF/OVMF_VARS-1024x768.fd \ diff --git a/jumpstart.sh b/jumpstart.sh index 080e5fe..ac69d0e 100755 --- a/jumpstart.sh +++ b/jumpstart.sh @@ -1,6 +1,7 @@ #!/bin/bash # jumpstart.sh: Fetches BaseSystem and converts it to a viable format. +# by Foxlet TOOLS=$PWD/tools