vmrun.sh: Don't require firmware on amd64 unless -E was specified

PR:		290232
Reported by:	David Marker <dave@freedave.net>
Fixes:		aa34b1d20e ("vmrun.sh: Add arm64 support")
MFC after:	3 days
This commit is contained in:
Mark Johnston
2025-10-16 14:48:39 +00:00
parent 79e57ea662
commit f19f17b3af
+4 -2
View File
@@ -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}"