From a13cd7a08a3f2b5fab3865303085ff3bd1dff35b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 7 Dec 2022 14:03:19 -0800 Subject: [PATCH] Add `--squashfs-only` to lorax args We started using this in real composes a year or two back, so openQA should do the same. It drops the nesting of an ext4 fs image inside a squashfs image, just using a single squashfs image instead. This results in smaller images - missing this is why the images built by openQA were coming out larger than the real ones. Signed-off-by: Adam Williamson --- tests/_installer_build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_installer_build.pm b/tests/_installer_build.pm index 76f436b6..3a877da7 100644 --- a/tests/_installer_build.pm +++ b/tests/_installer_build.pm @@ -19,7 +19,7 @@ sub run { assert_script_run "pushd /root/imgbuild"; assert_script_run "setenforce Permissive"; # Fedora pungi config always sets rootfs size to 3GiB since F32 - my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/${repo} --rootfs-size 3"; + my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/${repo} --rootfs-size 3 --squashfs-only"; unless ($version > $currrel) { $cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo"; }