aboutsummaryrefslogtreecommitdiff
path: root/contrib/build_rpm.sh
diff options
context:
space:
mode:
authorSagi Shnaidman <sshnaidm@redhat.com>2020-03-31 12:52:34 +0300
committerSagi Shnaidman <sshnaidm@redhat.com>2020-04-01 14:01:46 +0300
commit19aa4b4c0b056f1ff244eebccf3effc35577f358 (patch)
treeab5cb1e7f3f803bad2cde1b472c4d7017c2c39c5 /contrib/build_rpm.sh
parent6d36d05447fd594bedebea8a9a4366d348a78290 (diff)
downloadpodman-19aa4b4c0b056f1ff244eebccf3effc35577f358.tar.gz
podman-19aa4b4c0b056f1ff244eebccf3effc35577f358.tar.bz2
podman-19aa4b4c0b056f1ff244eebccf3effc35577f358.zip
Fix repos for CentOS 7 RPM build
CBS repos are gone, so we need a new repos to configure for RPM. Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Diffstat (limited to 'contrib/build_rpm.sh')
-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=(\