summaryrefslogtreecommitdiff
path: root/buildscripts/packager-enterprise.py
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2016-03-30 12:20:51 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2016-03-30 15:16:36 -0400
commit46d994e5c186e9634896db0d434db0a635ffc60b (patch)
tree81c37b66e931671f34e6070a342594cc7a77ba12 /buildscripts/packager-enterprise.py
parent7436d13815257851f08ed3cab1eb4d3d0fe09c8b (diff)
downloadmongo-46d994e5c186e9634896db0d434db0a635ffc60b.tar.gz
SERVER-23416 RPM support for zSeries
This also enables zSeries push tasks.
Diffstat (limited to 'buildscripts/packager-enterprise.py')
-rwxr-xr-xbuildscripts/packager-enterprise.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/buildscripts/packager-enterprise.py b/buildscripts/packager-enterprise.py
index e9dc1476c35..27534268c1a 100755
--- a/buildscripts/packager-enterprise.py
+++ b/buildscripts/packager-enterprise.py
@@ -42,7 +42,7 @@ import time
import urlparse
# The MongoDB names for the architectures we support.
-ARCH_CHOICES=["x86_64", "ppc64le"]
+ARCH_CHOICES=["x86_64", "ppc64le", "s390x"]
# Made up names for the flavors of distribution we package for.
DISTROS=["suse", "debian","redhat","ubuntu","amazon"]
@@ -116,6 +116,11 @@ class EnterpriseDistro(packager.Distro):
return [ "rhel71" ]
else:
return []
+ if arch == "s390x":
+ if self.n == 'redhat':
+ return [ "rhel72" ]
+ else:
+ return []
if re.search("(redhat|fedora|centos)", self.n):
return [ "rhel70", "rhel62", "rhel57" ]
@@ -263,7 +268,7 @@ def make_deb_repo(repo, distro, build_os, spec):
Label: mongodb
Suite: %s
Codename: %s/mongodb-enterprise
-Architectures: amd64 ppc64el
+Architectures: amd64 ppc64el s390x
Components: %s
Description: MongoDB packages
""" % (distro.repo_os_version(build_os), distro.repo_os_version(build_os), distro.repo_component())