From c2bb74c64d3aa6ac9eed6e5995edc8e4d042827d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 4 Sep 2017 11:05:00 -0700 Subject: [PATCH] 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. --- lib/utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index cd4ae5d5..fd701081 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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) {