Skip to content

Commit 6df7c60

Browse files
committed
Use new location for OVMF firmware
ArchLinux removed the old firmware and uses 4M version as a new default
1 parent a350117 commit 6df7c60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/util.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func buildVmInstance(t *testing.T, opts Opts) (*vmtest.Qemu, error) {
368368
}
369369

370370
if opts.containsESP {
371-
params = append(params, "-bios", "/usr/share/ovmf/x64/OVMF.fd")
371+
params = append(params, "-bios", "/usr/share/edk2/x64/OVMF.4m.fd")
372372

373373
// ESP partition contains initramfs and cannot be statically built
374374
// we built the image at runtime
@@ -386,7 +386,7 @@ func buildVmInstance(t *testing.T, opts Opts) (*vmtest.Qemu, error) {
386386
disks = append(disks, vmtest.QemuDisk{Path: output, Format: "raw"})
387387
}
388388
if opts.asIso {
389-
params = append(params, "-bios", "/usr/share/ovmf/x64/OVMF.fd")
389+
params = append(params, "-bios", "/usr/share/edk2/x64/OVMF.4m.fd")
390390

391391
// ESP partition contains initramfs and cannot be statically built
392392
// we built the image at runtime

0 commit comments

Comments
 (0)