git: 7d9794b34bcd - main - CI: use amd64 EDK II firmware included with QEMU
Ed Maste
emaste at FreeBSD.org
Sat Jun 26 18:23:30 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=7d9794b34bcd465a380f05b02ccfea469dd0a48e
commit 7d9794b34bcd465a380f05b02ccfea469dd0a48e
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-06-26 00:10:34 +0000
Commit: Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-06-26 18:22:48 +0000
CI: use amd64 EDK II firmware included with QEMU
QEMU (now) includes a prebuilt EDK II firmare in edk2-x86_64-code.fd.
Use that instead of requring a standalone uefi-edk2-qemu-x86_64 package.
Reviewed by: imp
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30915
---
.cirrus.yml | 2 +-
tools/boot/ci-qemu-test.sh | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index db0e4e4c0543..575f882b8b48 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -14,7 +14,7 @@ task:
name: World and kernel amd64 build and boot smoke test
timeout_in: 120m
install_script:
- - sh .cirrus-ci/pkg-install.sh qemu uefi-edk2-qemu-x86_64 llvm12
+ - sh .cirrus-ci/pkg-install.sh qemu llvm12
setup_script:
- uname -a
- df -m
diff --git a/tools/boot/ci-qemu-test.sh b/tools/boot/ci-qemu-test.sh
index c68531550dbc..acd905b7ece8 100755
--- a/tools/boot/ci-qemu-test.sh
+++ b/tools/boot/ci-qemu-test.sh
@@ -78,9 +78,8 @@ if [ -z "${OBJTOP}" ]; then
fi
# Locate the uefi firmware file used by qemu.
-: ${OVMF:=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_CODE-x86_64.fd}
+: ${OVMF:=/usr/local/share/qemu/edk2-x86_64-code.fd}
if [ ! -r "${OVMF}" ]; then
- echo "NOTE: UEFI firmware available in the uefi-edk2-qemu-x86_64 package" >&2
die "Cannot read UEFI firmware file ${OVMF}"
fi
More information about the dev-commits-src-all
mailing list