From a8e990f73ad305cfada41bc46f1b848ed4d9fb62 Mon Sep 17 00:00:00 2001 From: Ye Sijun Date: Mon, 14 Mar 2022 13:50:25 +0800 Subject: [PATCH] add ovmf candidates for archlinux Signed-off-by: Ye Sijun --- pkg/qemu/qemu.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/qemu/qemu.go b/pkg/qemu/qemu.go index fdcbd9c507f..2572c33798d 100644 --- a/pkg/qemu/qemu.go +++ b/pkg/qemu/qemu.go @@ -439,6 +439,8 @@ func getFirmware(qemuExe string, arch limayaml.Arch) (string, error) { candidates = append(candidates, "/usr/share/OVMF/OVMF_CODE.fd") // openSUSE package "qemu-ovmf-x86_64" candidates = append(candidates, "/usr/share/qemu/ovmf-x86_64-code.bin") + // Archlinux package "edk2-ovmf" + candidates = append(candidates, "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd") case limayaml.AARCH64: // Debian package "qemu-efi-aarch64" candidates = append(candidates, "/usr/share/AAVMF/AAVMF_CODE.fd")