git: f19f17b3af67 - main - vmrun.sh: Don't require firmware on amd64 unless -E was specified
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Oct 2025 14:52:00 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=f19f17b3af675fbbc1244b66bbd8fb4a9836cb02
commit f19f17b3af675fbbc1244b66bbd8fb4a9836cb02
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-10-16 14:48:39 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-10-16 14:50:33 +0000
vmrun.sh: Don't require firmware on amd64 unless -E was specified
PR: 290232
Reported by: David Marker <dave@freedave.net>
Fixes: aa34b1d20e44 ("vmrun.sh: Add arm64 support")
MFC after: 3 days
---
share/examples/bhyve/vmrun.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh
index 52935363023a..e0052e781dc0 100755
--- a/share/examples/bhyve/vmrun.sh
+++ b/share/examples/bhyve/vmrun.sh
@@ -268,8 +268,10 @@ fi
if [ -z "$firmware" ]; then
case ${platform} in
amd64)
- firmware="${efi_firmware}"
- firmware_pkg="edk2-bhyve"
+ if [ ${efi_mode} -ne 0 ]; then
+ firmware="${efi_firmware}"
+ firmware_pkg="edk2-bhyve"
+ fi
;;
arm64)
firmware="${uboot_firmware}"