Skip to content

Commit

Permalink
Fix OMVF location for openSUSE
Browse files Browse the repository at this point in the history
The split firmware requires that both the CODE and the VARS parts
are mounted. Otherwise the combined firmware should be used.

This should apply to the other Linux distributions too, but I have
not checked the filenames there.

Ref: https://bugzilla.suse.com/show_bug.cgi?id=1230291#c5

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
  • Loading branch information
jandubois committed Sep 23, 2024
1 parent ce052a6 commit f0ecbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/qemu/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ func getFirmware(qemuExe string, arch limayaml.Arch) (string, error) {
// Fedora package "edk2-ovmf"
candidates = append(candidates, "/usr/share/edk2/ovmf/OVMF_CODE.fd")
// openSUSE package "qemu-ovmf-x86_64"
candidates = append(candidates, "/usr/share/qemu/ovmf-x86_64-code.bin")
candidates = append(candidates, "/usr/share/qemu/ovmf-x86_64-4m.bin")
// Archlinux package "edk2-ovmf"
candidates = append(candidates, "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd")
case limayaml.AARCH64:
Expand Down

0 comments on commit f0ecbdb

Please sign in to comment.