mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +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 "mkdir -p /root/imgbuild";
|
||||||
assert_script_run "pushd /root/imgbuild";
|
assert_script_run "pushd /root/imgbuild";
|
||||||
assert_script_run "setenforce Permissive";
|
assert_script_run "setenforce Permissive";
|
||||||
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/fedora.repo";
|
# Fedora pungi config always sets rootfs size to 3GiB since F32
|
||||||
# rootfs in F30 installer images seems to have got very big at
|
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/fedora.repo --rootfs-size 3";
|
||||||
# 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);
|
|
||||||
unless ($version > $currrel) {
|
unless ($version > $currrel) {
|
||||||
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
|
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user