From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=jordan.l.justen@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A975D20886F3E for ; Sat, 16 Feb 2019 00:18:46 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2019 00:18:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,376,1544515200"; d="scan'208";a="147346402" Received: from mmdandap-mobl1.amr.corp.intel.com (HELO jljusten-skl.amr.corp.intel.com) ([10.254.8.66]) by fmsmga001.fm.intel.com with ESMTP; 16 Feb 2019 00:18:45 -0800 From: Jordan Justen To: edk2-devel@lists.01.org Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Anthony Perard , Julien Grall Date: Sat, 16 Feb 2019 00:18:24 -0800 Message-Id: <20190216081824.684-1-jordan.l.justen@intel.com> X-Mailer: git-send-email 2.20.0.rc1 MIME-Version: 1.0 Subject: [PATCH] OvmfPkg/build.sh: Enable flash for qemu 3 or later X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 08:18:46 -0000 Content-Transfer-Encoding: 8bit The check for 1.[1-9][0-9].* was removed since qemu jumped to 2.0 after 1.7. Changed 2.*.* to [2-9].*.* to match major releases 3 - 9. Added [1-9][0-9]*.*.* to match major releses >= 10. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Anthony Perard Cc: Julien Grall --- OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 6821742e7a..97863b09f2 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -215,7 +215,7 @@ if [[ "$RUN_QEMU" == "yes" ]]; then grep -o -E 'version [0-9]+\.[0-9]+\.[0-9]+' | \ awk '{print $2}') case $qemu_version in - 1.[6-9].*|1.[1-9][0-9].*|2.*.*) + 1.[6-9].*|[2-9].*.*|[1-9][0-9]*.*.*) ENABLE_FLASH=yes ;; esac -- 2.20.1