ci-qemu-test: if firmware is not available, hint at pkg to install

uefi-edk2-qemu-x86_64 provides the firmware ci-qemu-test.sh expects to
use.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2019-09-09 14:51:25 +00:00
parent 6c46ce7ea3
commit 3e6b8ce30e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352063

View File

@ -84,6 +84,7 @@ fi
# Locate the uefi firmware file used by qemu.
: ${OVMF:=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_CODE-x86_64.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