Patchwork D261: centos5: use vault urls

login
register
mail settings
Submitter phabricator
Date Aug. 8, 2017, 1:06 p.m.
Message ID <3daf9b911b9d73af6b5a913f3371a66c@localhost.localdomain>
Download mbox | patch
Permalink /patch/22744/
State Not Applicable
Headers show

Comments

phabricator - Aug. 8, 2017, 1:06 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGaa7a3f6e3729: centos5: use vault urls (authored by Mathiasdm).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D261?vs=606&id=624

REVISION DETAIL
  https://phab.mercurial-scm.org/D261

AFFECTED FILES
  contrib/docker/centos5

CHANGE DETAILS




To: Mathiasdm, #hg-reviewers, quark
Cc: quark, mercurial-devel

Patch

diff --git a/contrib/docker/centos5 b/contrib/docker/centos5
--- a/contrib/docker/centos5
+++ b/contrib/docker/centos5
@@ -1,4 +1,7 @@ 
 FROM centos:centos5
+RUN sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
+RUN sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo
+RUN sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo
 RUN yum install -y gcc make rpm-build gettext tar
 RUN yum install -y python-devel python-docutils
 # For creating repo meta data