Skip to content

Commit 2da749d

Browse files
committed
scripts/ci/qemu-run.sh: add support for Dasharo (coreboot+SeaBIOS) for QEMU Q35
Signed-off-by: Piotr Król <[email protected]>
1 parent 20314e4 commit 2da749d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/ci/qemu-run.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,14 @@ case "${ACTION}" in
212212
esac
213213

214214
# Check for the existence of QEMU firmware file
215-
if [ ! -f "${QEMU_FW_FILE}" ]; then
215+
if [ ! -f "${QEMU_FW_FILE}" ] && [ "${ACTION}" == "uefi" ]; then
216216
echo "The required file ${QEMU_FW_FILE} is missing."
217217
echo "Downloading from the server..."
218218
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
219+
elif [ ! -f "${QEMU_FW_FILE}" ] && [ "${ACTION}" == "seabios" ]; then
220+
echo "The required file ${QEMU_FW_FILE} is missing."
221+
echo "Downloading from the server..."
222+
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
219223
else
220224
echo "${QEMU_FW_FILE} file exists in the directory."
221225
echo "To make sure you are using the latest version from: https://github.com/Dasharo/edk2/releases"

0 commit comments

Comments
 (0)