1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

Drop systemd-oomd-defaults from Rawhide Workstation live (#2119518)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-08-20 00:08:12 -04:00
parent aadcc428d6
commit ed91ef94ff

View File

@ -57,6 +57,12 @@ sub run {
assert_script_run 'echo "repo --name=advisory --baseurl=file:///opt/update_repo" >> ' . $repoks;
# and the workarounds repo
assert_script_run 'echo "repo --name=workarounds --baseurl=file:///opt/workarounds_repo" >> ' . $repoks;
# FIXME: this is a workaround for #2119518, disabling oomd so it
# doesn't go crazy killing things
my $relnum = get_release_number;
if ($relnum > 37) {
assert_script_run 'sed -i -e "s,%end,-systemd-oomd-defaults\n%end,g" fedora-workstation-common.ks';
}
# now flatten the kickstart
assert_script_run "ksflatten -c fedora-live-${lcsubv}.ks -o openqa.ks";
# upload the kickstart so we can check it