Skip to content

Commit 3868b86

Browse files
committed
Fix OMVF location for openSUSE
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 <[email protected]>
1 parent ce052a6 commit 3868b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/qemu/qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ func getFirmware(qemuExe string, arch limayaml.Arch) (string, error) {
11191119
// Fedora package "edk2-ovmf"
11201120
candidates = append(candidates, "/usr/share/edk2/ovmf/OVMF_CODE.fd")
11211121
// openSUSE package "qemu-ovmf-x86_64"
1122-
candidates = append(candidates, "/usr/share/qemu/ovmf-x86_64-code.bin")
1122+
candidates = append(candidates, "/usr/share/qemu/ovmf-x86_64.bin")
11231123
// Archlinux package "edk2-ovmf"
11241124
candidates = append(candidates, "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd")
11251125
case limayaml.AARCH64:

0 commit comments

Comments
 (0)