[elbe-devel] [PATCH 03/10] tests: don't pack images

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


The image packing is slow and during testing the disk storage savings don't
really matter.

Keep the images uncompressed.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 tests/simple-amd64-with-grub-uefi.xml | 6 +++++-
 tests/simple-arm64.xml                | 3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/simple-amd64-with-grub-uefi.xml b/tests/simple-amd64-with-grub-uefi.xml
index 83160477ea1044c39d413f576c8d395ad8a8dd62..c83fe45cc7de7955c322d7e714a79de0cd61ffbc 100644
--- a/tests/simple-amd64-with-grub-uefi.xml
+++ b/tests/simple-amd64-with-grub-uefi.xml
@@ -78,10 +78,14 @@ SPDX-FileCopyrightText: Linutronix GmbH
 			<pkg>shim-signed</pkg>
 			<pkg>linux-image-amd64</pkg>
 		</pkg-list>
+
+		<project-finetuning>
+			<set_packer packer="none">sda.img</set_packer>
+		</project-finetuning>
 	</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>
 			<interpreter-firmware
diff --git a/tests/simple-arm64.xml b/tests/simple-arm64.xml
index c9fd8dab6de97384572986776ae2d150fc8b2cbd..76e44be4f8a5ed319aa73316d96f80bb517ab91a 100644
--- a/tests/simple-arm64.xml
+++ b/tests/simple-arm64.xml
@@ -72,11 +72,12 @@ SPDX-FileCopyrightText: Linutronix GmbH
 		</finetuning>
 
 		<project-finetuning>
+			<set_packer packer="none">sda.img</set_packer>
 		</project-finetuning>
 	</target>
 	<check-image-list>
 		<check>
-			<img>sda.img.tar.gz</img>
+			<img>sda.img</img>
 			<interpreter>qemu-system-aarch64</interpreter>
 			<interpreter-opts>-m 2G -M virt -drive format=raw,file=$ELBE_IMG,id=hd1,if=none -device virtio-blk-pci,drive=hd1 -kernel vmlinuz -initrd initrd.img -cpu cortex-a53 -append "root=/dev/vda1" -nographic</interpreter-opts>
 			<action> <login /> </action>

-- 
2.48.1



More information about the elbe-devel mailing list