mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
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 <awilliam@redhat.com>
This commit is contained in:
parent
4d3673f811
commit
a13cd7a08a
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user