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"