summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-01 20:18:48 +0200
committerGitHub <noreply@github.com>2020-04-01 20:18:48 +0200
commit0a163720351710be314c729086e8d288680ff0a8 (patch)
treed52afaf502779c07914db5dfad00845ce240a325
parentd534e524272121a6489c1a2a2c11c6b389027ecd (diff)
parent19aa4b4c0b056f1ff244eebccf3effc35577f358 (diff)
downloadpodman-0a163720351710be314c729086e8d288680ff0a8.tar.gz
podman-0a163720351710be314c729086e8d288680ff0a8.tar.bz2
podman-0a163720351710be314c729086e8d288680ff0a8.zip
Merge pull request #5678 from sshnaidm/buildrpm
Fix repos for CentOS 7 RPM build
-rwxr-xr-xcontrib/build_rpm.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/build_rpm.sh b/contrib/build_rpm.sh
index de6941199..a9db029df 100755
--- a/contrib/build_rpm.sh
+++ b/contrib/build_rpm.sh
@@ -7,11 +7,18 @@ echo "Package manager binary: $pkg_manager"
if [[ $pkg_manager == *yum ]]; then
- echo "[virt7-container-common-candidate]
-name=virt7-container-common-candidate
-baseurl=https://cbs.centos.org/repos/virt7-container-common-candidate/x86_64/os/
+ echo "[virt7-container]
+name=virt7-container
+baseurl=https://buildlogs.centos.org/centos/7/virt/x86_64/container/
enabled=1
gpgcheck=0" > /etc/yum.repos.d/container_virt.repo
+ echo "[paas_openshift_origin311]
+name=paas_openshift_origin311
+# Use this if you need the newest *-testing packages
+# baseurl=https://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin311/
+baseurl=http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin311/
+enabled=1
+gpgcheck=0" > /etc/yum.repos.d/paas_openshift_origin311.repo
fi
declare -a PKGS=(\