From 2da749d77ee87b0014d3dfdfbac33be8b23ca377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Mon, 25 Nov 2024 23:08:19 +0100 Subject: [PATCH] scripts/ci/qemu-run.sh: add support for Dasharo (coreboot+SeaBIOS) for QEMU Q35 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- scripts/ci/qemu-run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/ci/qemu-run.sh b/scripts/ci/qemu-run.sh index 86784b0205..86c014fe33 100755 --- a/scripts/ci/qemu-run.sh +++ b/scripts/ci/qemu-run.sh @@ -212,10 +212,14 @@ case "${ACTION}" in esac # Check for the existence of QEMU firmware file -if [ ! -f "${QEMU_FW_FILE}" ]; then +if [ ! -f "${QEMU_FW_FILE}" ] && [ "${ACTION}" == "uefi" ]; then echo "The required file ${QEMU_FW_FILE} is missing." echo "Downloading from the server..." wget -O ${QEMU_FW_FILE} https://github.com/Dasharo/coreboot/releases/download/qemu_q35_v0.2.0-rc1/qemu_q35_v0.2.0-rc1.rom +elif [ ! -f "${QEMU_FW_FILE}" ] && [ "${ACTION}" == "seabios" ]; then + echo "The required file ${QEMU_FW_FILE} is missing." + echo "Downloading from the server..." + wget -O ${QEMU_FW_FILE} https://github.com/Dasharo/dasharo-pq/releases/download/24.08.00.01-rc1/qemu_q35_24.08.00.01.rom else echo "${QEMU_FW_FILE} file exists in the directory." echo "To make sure you are using the latest version from: https://github.com/Dasharo/edk2/releases"