Skip to content

Commit

Permalink
scripts/ci/qemu-run.sh: add support for Dasharo (coreboot+SeaBIOS) fo…
Browse files Browse the repository at this point in the history
…r QEMU Q35

Signed-off-by: Piotr Król <[email protected]>
  • Loading branch information
pietrushnic committed Nov 25, 2024
1 parent 20314e4 commit 2da749d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/ci/qemu-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2da749d

Please sign in to comment.