Skip to content

Commit

Permalink
Update kvm-qemu.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven authored Apr 14, 2024
1 parent 1adf1a2 commit bb6c194
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions installer/kvm-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,29 @@ function install_qemu() {
# Public version
replace_qemu_clues_public
fi

cd qemu-$qemu_version/roms/ || exit 1
echo '[+] Making bios.bin ...'
sed -i 's/CONFIG_XEN=y/CONFIG_XEN=n/g' config.seabios-microvm
sed -i 's/CONFIG_XEN=y/CONFIG_XEN=n/g' config.seabios-128k
sed -i 's/PYTHON=python/PYTHON=python3/g' seabios/Makefile
make bios
if [ $? -eq 0 ]; then
echo '[+] Completed '
else
echo '[-] Failed $?'
fi

echo '[+] Making vgabios bins...'
make vgabios
if [ $? -eq 0 ]; then
echo '[+] Completed '
else
echo '[-] Failed $?'
fi

cd -

# ToDo reintroduce it?
#if [ $fail -eq 0 ]; then
echo '[+] Starting compile it'
Expand Down

0 comments on commit bb6c194

Please sign in to comment.