summaryrefslogtreecommitdiff
path: root/buildscripts/packager.py
diff options
context:
space:
mode:
authorCristopher Stauffer <cristopher.stauffer@mongodb.com>2018-05-31 16:08:41 -0400
committerCristopher Stauffer <cristopher.stauffer@mongodb.com>2018-05-31 16:08:41 -0400
commit91d1ad49786c3fa70f602ad0a564488705105245 (patch)
tree79c1e7b20bac6519abffec78c937b35408e96704 /buildscripts/packager.py
parent8b4d58e36f38d22bedd1156453a1011d836a9982 (diff)
downloadmongo-91d1ad49786c3fa70f602ad0a564488705105245.tar.gz
SERVER-35281: Adding Community Support for zSeries RHEL 67
Diffstat (limited to 'buildscripts/packager.py')
-rwxr-xr-xbuildscripts/packager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildscripts/packager.py b/buildscripts/packager.py
index ea0b132de41..d0bd5423e71 100755
--- a/buildscripts/packager.py
+++ b/buildscripts/packager.py
@@ -41,7 +41,7 @@ import tempfile
import time
# The MongoDB names for the architectures we support.
-ARCH_CHOICES = ["x86_64", "arm64"]
+ARCH_CHOICES = ["x86_64", "arm64", "s390x"]
# Made up names for the flavors of distribution we package for.
DISTROS = ["suse", "debian", "redhat", "ubuntu", "amazon", "amazon2"]
@@ -329,7 +329,7 @@ class Distro(object):
if re.search("(suse)", self.dname):
return ["suse11", "suse12"]
elif re.search("(redhat|fedora|centos)", self.dname):
- return ["rhel70", "rhel71", "rhel72", "rhel62", "rhel55"]
+ return ["rhel70", "rhel71", "rhel72", "rhel62", "rhel55", "rhel67"]
elif self.dname in ['amazon', 'amazon2']:
return [self.dname]
elif self.dname == 'ubuntu':
@@ -625,7 +625,7 @@ def make_deb_repo(repo, distro, build_os):
Label: mongodb
Suite: %s
Codename: %s/mongodb-org
-Architectures: amd64 arm64
+Architectures: amd64 arm64 s390x
Components: %s
Description: MongoDB packages
""" % (distro.repo_os_version(build_os), distro.repo_os_version(build_os), distro.repo_component())