From 6659e264b7bf6691b0f89c0d8fb76727acd8b6d8 Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Thu, 23 Feb 2017 19:20:20 +0100 Subject: [PATCH] update repo_setup for PowerPC f25 to avoid upgrade_server test to fail with: "Repository fedora-source has no mirror or baseurl set." Signed-off-by: Michel Normand --- lib/utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index 50777c9e..3162ff09 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -312,7 +312,7 @@ sub _repo_setup_compose { # and we don't want to bother testing or predicting its existence; # assert_script_run doesn't buy you much with sed anyway as it'll # return 0 even if it replaced nothing - script_run "sed -i -e 's,^metalink,#metalink,g' -e 's,^#baseurl.*basearch,baseurl=${location}/Everything/\$basearch,g' /etc/yum.repos.d/{fedora,fedora-rawhide}.repo", 0; + script_run "sed -i -e 's,^metalink,#metalink,g' -e 's,^#baseurl.*basearch,baseurl=${location}/Everything/\$basearch,g' -e 's,^#baseurl.*source,baseurl=${location}/Everything/source,g' /etc/yum.repos.d/{fedora,fedora-rawhide}.repo", 0; script_run "cat /etc/yum.repos.d/{fedora,fedora-rawhide}.repo", 0; }