bochs only works for x86
This commit is contained in:
parent
f33a187adc
commit
f6b3f935ef
1 changed files with 7 additions and 5 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue