bochs only works for x86

This commit is contained in:
Arthur Beck 2025-02-12 06:58:09 -06:00
parent f33a187adc
commit f6b3f935ef

View file

@ -11,10 +11,12 @@ set -e
cd ../emulation cd ../emulation
# -f makes it so it won't error out if the file doesn't exist if [[ "$1" = "x86" ]]; then
rm -f bochsrc # -f makes it so it won't error out if the file doesn't exist
cp bochsrc.template bochsrc rm -f bochsrc
cp bochsrc.template bochsrc
sed -i "s@%{BUILT_FILE}@aphrodite-$1.iso@g" bochsrc sed -i "s@%{BUILT_FILE}@aphrodite-$1.iso@g" bochsrc
bochs -q bochs -q
fi