diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:47:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:47:24 +0000 |
commit | 046f5fb765312e9ca387a2642099d4f5ec0f4eaa (patch) | |
tree | 192457ff422b24b0c57333cc75dba80ca79fa50c /bin/sbuild-qemu-boot | |
parent | Adding upstream version 0.85.6. (diff) | |
download | sbuild-5347c5ead9d11bae8e477512405350ff99df84a7.tar.xz sbuild-5347c5ead9d11bae8e477512405350ff99df84a7.zip |
Adding upstream version 0.85.7.upstream/0.85.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin/sbuild-qemu-boot')
-rwxr-xr-x | bin/sbuild-qemu-boot | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/sbuild-qemu-boot b/bin/sbuild-qemu-boot index ae2ef1d..1fd93ae 100755 --- a/bin/sbuild-qemu-boot +++ b/bin/sbuild-qemu-boot @@ -148,7 +148,9 @@ def get_qemu_base_args(image, guest_arch=None, boot="auto"): case "efi": match guest_arch: case 'amd64': - eficode = "/usr/share/OVMF/OVMF_CODE.fd" + eficode = "/usr/share/OVMF/OVMF_CODE_4M.fd" + if not os.path.exists(eficode): + eficode = "/usr/share/OVMF/OVMF_CODE.fd" case 'i386': eficode = "/usr/share/OVMF/OVMF32_CODE_4M.secboot.fd" case 'arm64': |