1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

Explicitly install 'koji' package in update repo setup

bodhi-client doesn't depend on the 'koji' package but does need
it to do 'bodhi updates download', which we want to do. So we
must explicitly install it here.
This commit is contained in:
Adam Williamson 2017-09-04 11:05:00 -07:00
parent b6c23ff4cf
commit c2bb74c64d

View File

@ -341,7 +341,7 @@ sub _repo_setup_updates {
# 'dnf install' calls will get the packages from the update.
assert_script_run "mkdir -p /opt/update_repo";
assert_script_run "cd /opt/update_repo";
assert_script_run "dnf -y install bodhi-client git createrepo", 300;
assert_script_run "dnf -y install bodhi-client git createrepo koji", 300;
# download the packages
my $version = lc(get_var("VERSION"));
if ($version eq 'rawhide' || $version > 25) {