]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add OVMF path to openSUSE qemu-ovmf 422/head
authorMichal Koutný <mkoutny@suse.com>
Fri, 15 May 2020 17:27:06 +0000 (19:27 +0200)
committerMichal Koutný <mkoutny@suse.com>
Tue, 23 Jun 2020 15:22:33 +0000 (17:22 +0200)
The OVMF files on openSUSE are in yet another unlisted path.

mkosi

diff --git a/mkosi b/mkosi
index 579155d8d91783acae7a9996d85832d2b8fe16dc..acc24ddc30b696fb730372c2642ed62266fabb03 100755 (executable)
--- a/mkosi
+++ b/mkosi
@@ -4975,6 +4975,7 @@ def run_qemu(args: CommandLineArguments) -> None:
     if platform.machine() == 'x86_64':
         FIRMWARE_LOCATIONS.append('/usr/share/ovmf/ovmf_code_x64.bin')
         FIRMWARE_LOCATIONS.append('/usr/share/ovmf/x64/OVMF_CODE.fd')
+        FIRMWARE_LOCATIONS.append('/usr/share/qemu/ovmf-x86_64.bin')
     elif platform.machine() == 'i386':
         FIRMWARE_LOCATIONS.append('/usr/share/ovmf/ovmf_code_ia32.bin')
         FIRMWARE_LOCATIONS.append('/usr/share/edk2/ovmf-ia32/OVMF_CODE.fd')