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
|
||||
;;
|
||||
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
|
||||
|
||||
#
|
||||
|
@ -267,9 +256,6 @@ if [[ "$RUN_QEMU" == "yes" ]]; then
|
|||
else
|
||||
QEMU_COMMAND="$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR"
|
||||
fi
|
||||
if [[ "$ADD_QEMU_HDA" == "yes" ]]; then
|
||||
QEMU_COMMAND="$QEMU_COMMAND -hda fat:$BUILD_ROOT_ARCH"
|
||||
fi
|
||||
echo Running: $QEMU_COMMAND "$@"
|
||||
$QEMU_COMMAND "$@"
|
||||
exit $?
|
||||
|
|
Loading…
Reference in New Issue