From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: bsdio.com, ip: 65.103.231.193, mailfrom: rebecca@bsdio.com) Received: from muon.bsdio.com (muon.bsdio.com [65.103.231.193]) by groups.io with SMTP; Wed, 24 Jul 2019 14:44:19 -0700 Received: from muon.bsdio.com (localhost [127.0.0.1]) by muon.bsdio.com (Postfix) with ESMTP id 655AF89EB4; Wed, 24 Jul 2019 15:44:40 -0600 (MDT) Received: from muon.bsdio.com ([127.0.0.1]) by muon.bsdio.com (muon.bsdio.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TUuna510tg4g; Wed, 24 Jul 2019 15:44:40 -0600 (MDT) Received: from photon.int.bluestop.org (unknown [10.0.10.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bsdio.com (Postfix) with ESMTPSA; Wed, 24 Jul 2019 15:44:40 -0600 (MDT) From: rebecca@bsdio.com To: devel@edk2.groups.io, Jordan Justen , Laszlo Ersek , Ard Biesheuvel Cc: Rebecca Cran Subject: [PATCH v2 3/3] OvmfPkg/build.sh: remove $ADD_QEMU_HDA Date: Wed, 24 Jul 2019 15:44:05 -0600 Message-Id: <20190724214405.16162-3-rebecca@bsdio.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724214405.16162-1-rebecca@bsdio.com> References: <20190724214405.16162-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable $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 --- OvmfPkg/build.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 0219791aa8..960382f633 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -213,17 +213,6 @@ if [[ "$RUN_QEMU" =3D=3D "yes" ]]; then ENABLE_FLASH=3Dyes ;; esac - - ADD_QEMU_HDA=3Dyes - for arg in "$@" - do - case $arg in - -hd[a-d]|-fd[ab]|-cdrom) - ADD_QEMU_HDA=3Dno - break - ;; - esac - done fi =20 # @@ -267,9 +256,6 @@ if [[ "$RUN_QEMU" =3D=3D "yes" ]]; then else QEMU_COMMAND=3D"$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR" fi - if [[ "$ADD_QEMU_HDA" =3D=3D "yes" ]]; then - QEMU_COMMAND=3D"$QEMU_COMMAND -hda fat:$BUILD_ROOT_ARCH" - fi echo Running: $QEMU_COMMAND "$@" $QEMU_COMMAND "$@" exit $? --=20 2.22.0