[elbe-devel] [PATCH 3/3] tests: simple-amd64-uefi: Add Arch Linux variant

Olivier Dion dion at linutronix.de
Wed Aug 26 17:16:12 CEST 2020


Arch Linux installs edk2 firmwares under /usr/share/edk2-ovmf
instead of /usr/share/qemu.  Thus for this distro, it's require to
pass the -L option to the interpreter to correctly find the bios.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 tests/simple-amd64-with-grub-uefi.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/simple-amd64-with-grub-uefi.xml b/tests/simple-amd64-with-grub-uefi.xml
index 4169eefb..609ee324 100644
--- a/tests/simple-amd64-with-grub-uefi.xml
+++ b/tests/simple-amd64-with-grub-uefi.xml
@@ -89,7 +89,8 @@
 			figure out a way to pass variants from elbe-ci to
 			elbe-check-build first.
 			-->
-			<interpreter-opts>-bios OVMF.fd -m 2G -enable-kvm -cpu host -drive format=raw,file=$ELBE_IMG</interpreter-opts>
+			<interpreter-opts variant="">-bios OVMF.fd -m 2G -enable-kvm -cpu host -drive format=raw,file=$ELBE_IMG</interpreter-opts>
+			<interpreter-opts variant="arch-linux">-L /usr/share/edk2-ovmf/x64 -bios OVMF.fd -m 2G -enable-kvm -cpu host -drive format=raw,file=$ELBE_IMG</interpreter-opts>
 
 			<action> <login /> </action>
 		</check>
-- 
2.28.0



More information about the elbe-devel mailing list