1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-26 12:13:14 +00:00

Work around lorax breakage in F29

A broken lorax got into F29 stable and is causing live image
builds to fail in all F29 update tests. Work around that by
downloading a newer fixed package in _repo_setup_updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-08-15 11:52:12 -07:00
parent cac08c170f
commit d7d3d40d83

View File

@ -435,6 +435,12 @@ sub _repo_setup_updates {
# installed, but was not
assert_script_run 'rpm -qp *.rpm --qf "%{NAME} " > /var/log/updatepkgnames.txt';
upload_logs "/var/log/updatepkgnames.txt";
# FIXME: workaround for broken lorax-29.29-1.fc29, remove when
# FEDORA-2019-8a3aa00d5e goes stable
my $relnum = get_release_number;
if ($relnum == 29) {
assert_script_run "bodhi updates download --updateid FEDORA-2019-8a3aa00d5e", 600;
}
# create the repo metadata
assert_script_run "createrepo .";
# write a repo config file, unless this is the support_server test