Skip to content

Commit

Permalink
Use new location for OVMF firmware
Browse files Browse the repository at this point in the history
ArchLinux removed the old firmware and uses 4M version as a new default
  • Loading branch information
anatol committed Dec 1, 2024
1 parent a350117 commit 6df7c60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func buildVmInstance(t *testing.T, opts Opts) (*vmtest.Qemu, error) {
}

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

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

// ESP partition contains initramfs and cannot be statically built
// we built the image at runtime
Expand Down

0 comments on commit 6df7c60

Please sign in to comment.