[elbe-devel] [PATCH 07/10] examples: use plain image name in <check>

Thomas Weißschuh thomas.weissschuh at linutronix.de
Fri Feb 28 14:25:12 CET 2025


The check-build command can now automatically find the packed image from the
plain name. This makes the relationships inside the XML clearer and more robust.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 examples/amd64-bookworm.xml  | 2 +-
 examples/amd64-with-grub.xml | 2 +-
 examples/armhf.xml           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/amd64-bookworm.xml b/examples/amd64-bookworm.xml
index a317d5f8026943d1d04a0a05b1dec4e941e69539..bdfa1977b022852b65dd4d45fb2bebbb3c480fda 100644
--- a/examples/amd64-bookworm.xml
+++ b/examples/amd64-bookworm.xml
@@ -81,7 +81,7 @@ SPDX-FileCopyrightText: Linutronix GmbH
 	</target>
 	<check-image-list>
 		<check>
-			<img>sda.img.tar.gz</img>
+			<img>sda.img</img>
 			<interpreter>qemu-system-x86_64</interpreter>
 			<interpreter-opts>-m 2G -enable-kvm -cpu host -drive format=raw,file=$ELBE_IMG -nographic</interpreter-opts>
 
diff --git a/examples/amd64-with-grub.xml b/examples/amd64-with-grub.xml
index e0fb75634a4db027d259a8910ce7e054df528cd2..dc4ae19f5ac32fd064de61a62737c1952355c30e 100644
--- a/examples/amd64-with-grub.xml
+++ b/examples/amd64-with-grub.xml
@@ -81,7 +81,7 @@ SPDX-FileCopyrightText: Linutronix GmbH
 	</target>
 	<check-image-list>
 		<check>
-			<img>sda.img.tar.gz</img>
+			<img>sda.img</img>
 			<interpreter>qemu-system-x86_64</interpreter>
 			<interpreter-opts>-m 2G -enable-kvm -cpu host -drive format=raw,file=$ELBE_IMG -nographic</interpreter-opts>
 
diff --git a/examples/armhf.xml b/examples/armhf.xml
index a6aa7acc9b7efb1d457427632139a40e92b1cc84..b4b8e46a3b607f86bc02e63a2b8f627da079b072 100644
--- a/examples/armhf.xml
+++ b/examples/armhf.xml
@@ -81,7 +81,7 @@ SPDX-FileCopyrightText: Linutronix GmbH
 	</target>
 	<check-image-list>
 		<check>
-			<img>sda.img.tar.gz</img>
+			<img>sda.img</img>
 			<interpreter>qemu-system-arm</interpreter>
 			<interpreter-opts>-m 2G -M vexpress-a15 -drive format=raw,file=$ELBE_IMG,if=sd -nographic -kernel vmlinuz -initrd initrd.img -dtb dtb -append "console=ttyAMA0,115200 root=/dev/mmcblk0p1"</interpreter-opts>
 			<action> <login /> </action>

-- 
2.48.1



More information about the elbe-devel mailing list