laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37474?usp=email ) Change subject: CI: OBS: centos7: use vault.centos.org ...................................................................... CI: OBS: centos7: use vault.centos.org The centos7 images try to use mirrorlist.centos.org to determine the fastest mirror, and then download binary packages from there. But mirrorlist.centos.org isn't online anymore. Use the vault instead. Without this patch, the mirrors that can't be reached are ignored, and later on it fails to properly install packages because of missing dependencies. Related: docker-playground I0a8f93bb16dd9245760b8a1ad53f0642d446b4cf Change-Id: I2489fe1d6edf969e55e154bca4b6d961da2a9d94 --- M scripts/obs/data/build_binpkg.Dockerfile 1 file changed, 23 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/scripts/obs/data/build_binpkg.Dockerfile b/scripts/obs/data/build_binpkg.Dockerfile index b29d8f9..66f1feb 100644 --- a/scripts/obs/data/build_binpkg.Dockerfile +++ b/scripts/obs/data/build_binpkg.Dockerfile @@ -52,6 +52,11 @@ su user -c rpmdev-setuptree \ ;; \ centos:7) \ + set -x && \ + sed -i 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/*.repo && \ + sed -i 's/^#.*baseurl=http/baseurl=http/g' /etc/yum.repos.d/*.repo && \ + sed -i 's/^mirrorlist=http/#mirrorlist=http/g' /etc/yum.repos.d/*.repo && \ + \ yum -y install \ autoconf \ automake \ -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37474?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I2489fe1d6edf969e55e154bca4b6d961da2a9d94 Gerrit-Change-Number: 37474 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged