Patchwork D7216: packaging: add support for CentOS 8

login
register
mail settings
Submitter phabricator
Date Nov. 4, 2019, 9:53 p.m.
Message ID <70b1848c303f1d14bf3f482b2ed1ab84@localhost.localdomain>
Download mbox | patch
Permalink /patch/42733/
State Not Applicable
Headers show

Comments

phabricator - Nov. 4, 2019, 9:53 p.m.
Closed by commit rHG7c9d42c1042d: packaging: add support for CentOS 8 (authored by Mathias De Mare &lt;mathias.de_mare@nokia.com&gt;).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7216?vs=17515&id=17539

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7216/new/

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

AFFECTED FILES
  Makefile
  contrib/packaging/Makefile
  contrib/packaging/docker/centos8

CHANGE DETAILS




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

Patch

diff --git a/contrib/packaging/docker/centos8 b/contrib/packaging/docker/centos8
new file mode 100644
--- /dev/null
+++ b/contrib/packaging/docker/centos8
@@ -0,0 +1,15 @@ 
+FROM centos:centos8
+
+RUN groupadd -g %GID% build && \
+    useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
+
+RUN yum install -y \
+	gcc \
+	gettext \
+	make \
+	python3-devel \
+	python3-docutils \
+	rpm-build
+
+# For creating repo meta data
+RUN yum install -y createrepo
diff --git a/contrib/packaging/Makefile b/contrib/packaging/Makefile
--- a/contrib/packaging/Makefile
+++ b/contrib/packaging/Makefile
@@ -16,7 +16,8 @@ 
 CENTOS_RELEASES := \
   5 \
   6 \
-  7
+  7 \
+  8
 
 # Build a Python for these CentOS releases.
 CENTOS_WITH_PYTHON_RELEASES := 5 6
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -183,10 +183,12 @@ 
   centos5 \
   centos6 \
   centos7 \
+  centos8 \
   deb \
   docker-centos5 \
   docker-centos6 \
   docker-centos7 \
+  docker-centos8 \
   docker-debian-jessie \
   docker-debian-stretch \
   docker-fedora \