mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
Always use rootfs size of 3GiB in installer build test
This is how our Pungi config has been set up since F32, so we should match it here to be accurate. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
154328e590
commit
7a7ff1757e
@ -16,11 +16,8 @@ sub run {
|
||||
assert_script_run "mkdir -p /root/imgbuild";
|
||||
assert_script_run "pushd /root/imgbuild";
|
||||
assert_script_run "setenforce Permissive";
|
||||
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/fedora.repo";
|
||||
# rootfs in F30 installer images seems to have got very big at
|
||||
# some point, let's work around that for now:
|
||||
# https://bodhi.fedoraproject.org/updates/FEDORA-2020-1070052d10#comment-1284223
|
||||
$cmd .= " --rootfs-size 3" if ($version eq 30);
|
||||
# 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/fedora.repo --rootfs-size 3";
|
||||
unless ($version > $currrel) {
|
||||
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user