mirror of https://github.com/acidanthera/audk.git
OvmfPkg/build.sh: remove $ADD_QEMU_HDA
$ADD_QEMU_HDA was added because QEMU used to refuse to run without a disk. Since newer versions run without any disks, remove it. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
This commit is contained in:
parent
28bc699240
commit
4634fd429e
|
@ -213,17 +213,6 @@ if [[ "$RUN_QEMU" == "yes" ]]; then
|
||||||
ENABLE_FLASH=yes
|
ENABLE_FLASH=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
ADD_QEMU_HDA=yes
|
|
||||||
for arg in "$@"
|
|
||||||
do
|
|
||||||
case $arg in
|
|
||||||
-hd[a-d]|-fd[ab]|-cdrom)
|
|
||||||
ADD_QEMU_HDA=no
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -267,9 +256,6 @@ if [[ "$RUN_QEMU" == "yes" ]]; then
|
||||||
else
|
else
|
||||||
QEMU_COMMAND="$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR"
|
QEMU_COMMAND="$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR"
|
||||||
fi
|
fi
|
||||||
if [[ "$ADD_QEMU_HDA" == "yes" ]]; then
|
|
||||||
QEMU_COMMAND="$QEMU_COMMAND -hda fat:$BUILD_ROOT_ARCH"
|
|
||||||
fi
|
|
||||||
echo Running: $QEMU_COMMAND "$@"
|
echo Running: $QEMU_COMMAND "$@"
|
||||||
$QEMU_COMMAND "$@"
|
$QEMU_COMMAND "$@"
|
||||||
exit $?
|
exit $?
|
||||||
|
|
Loading…
Reference in New Issue