mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 00:53:09 +00:00
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 <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
52e6a60539
commit
6659e264b7
@ -312,7 +312,7 @@ sub _repo_setup_compose {
|
|||||||
# and we don't want to bother testing or predicting its existence;
|
# 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
|
# assert_script_run doesn't buy you much with sed anyway as it'll
|
||||||
# return 0 even if it replaced nothing
|
# 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;
|
script_run "cat /etc/yum.repos.d/{fedora,fedora-rawhide}.repo", 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user