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 | 6ed625ed90afd15b054df32dfc99f605244859dc (patch) | |
tree | 1abdf88397ab659461a895218ab844158bd76bf9 /bin/sbuild-qemu-update | |
parent | Releasing progress-linux version 0.85.6-0.0~progress7.99u1. (diff) | |
download | sbuild-6ed625ed90afd15b054df32dfc99f605244859dc.tar.xz sbuild-6ed625ed90afd15b054df32dfc99f605244859dc.zip |
Merging upstream version 0.85.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin/sbuild-qemu-update')
-rwxr-xr-x | bin/sbuild-qemu-update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/sbuild-qemu-update b/bin/sbuild-qemu-update index af5c31c..6e08274 100755 --- a/bin/sbuild-qemu-update +++ b/bin/sbuild-qemu-update @@ -146,7 +146,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': |