diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2019-07-24 15:44:05 -0600 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2019-07-29 22:46:58 -0700 |
commit | 4634fd429eff8b5a4143e1ca98852d89b92b2009 (patch) | |
tree | e3a50f8d5b71c5bb2483ba6013498a192d5140de | |
parent | 28bc6992400d56351d36b26f0841fbfcb1ea2fd4 (diff) | |
download | edk2-4634fd429eff8b5a4143e1ca98852d89b92b2009.tar.gz edk2-4634fd429eff8b5a4143e1ca98852d89b92b2009.tar.bz2 edk2-4634fd429eff8b5a4143e1ca98852d89b92b2009.zip |
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>
-rwxr-xr-x | OvmfPkg/build.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index bacab5e22a..0506221be0 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -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 $? |