diff --git a/lib/utils.pm b/lib/utils.pm index 47e0d6cb..b065b412 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -466,6 +466,14 @@ sub _repo_setup_updates { # source packages and epochs assert_script_run 'rpm -qp *.rpm --qf "%{SOURCERPM} %{EPOCH} %{NAME}-%{VERSION}-%{RELEASE}\n" | sort -u > /var/log/updatepkgs.txt'; upload_logs "/var/log/updatepkgs.txt"; + # HOTFIX 2018-11: an authselect change broke FreeIPA, grab the + # pending update that fixes that (F28 and F29) + if (get_var("VERSION") eq "29") { + assert_script_run "bodhi updates download --updateid FEDORA-2018-a7e4debd10", 600; + } + if (get_var("VERSION") eq "28") { + assert_script_run "bodhi updates download --updateid FEDORA-2018-892835660b", 600; + } # create the repo metadata assert_script_run "createrepo ."; # write a repo config file