diff options
author | Samuel Cabrero <scabrero@suse.de> | 2019-03-22 14:15:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-04-18 12:09:33 +0000 |
commit | 31f5b75120b4d543195ce704970d8e4dcd58addb (patch) | |
tree | 492769947e54c25fd64c1cb77c65da0ff114ec55 | |
parent | 27b61082aa1363c8a5f9f11ad9bb117cd7a20de7 (diff) | |
download | samba-31f5b75120b4d543195ce704970d8e4dcd58addb.tar.gz |
bootstrap/config.py: Add openSUSE Leap 15.0
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r-- | bootstrap/config.py | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/bootstrap/config.py b/bootstrap/config.py index e10da1bc1ce..e4566a6c8a9 100644 --- a/bootstrap/config.py +++ b/bootstrap/config.py @@ -216,6 +216,22 @@ dnf -y -q --verbose install \ dnf clean all """ +ZYPPER_BOOTSTRAP = r""" +#!/bin/bash +set -xueo pipefail + +zypper --non-interactive refresh +zypper --non-interactive update +zypper --non-interactive install \ + {pkgs} \ + system-user-nobody + +zypper --non-interactive clean + +if [ -f /usr/lib/mit/bin/krb5-config ]; then + ln -sf /usr/lib/mit/bin/krb5-config /usr/bin/krb5-config +fi +""" # A generic shell script to setup locale LOCALE_SETUP = r""" @@ -430,6 +446,36 @@ RPM_DISTS = { 'lsb-release': 'redhat-lsb', } }, + 'opensuse150': { + 'docker_image': 'opensuse/leap:15.0', + 'vagrant_box': 'opensuse/openSUSE-15.0-x86_64', + 'bootstrap': ZYPPER_BOOTSTRAP, + 'replace': { + '@development-tools': '', + 'dbus-devel': 'dbus-1-devel', + 'docbook-style-xsl': 'docbook-xsl-stylesheets', + 'glibc-common': 'glibc-locale', + 'glibc-locale-source': 'glibc-i18ndata', + 'glibc-langpack-en': '', + 'jansson-devel': 'libjansson-devel', + 'keyutils-libs-devel': 'keyutils-devel', + 'krb5-workstation': 'krb5-client', + 'libnsl2-devel': 'libnsl-devel', + 'libsemanage-python': 'python2-semanage', + 'nettle-devel': 'libnettle-devel', + 'openldap-devel': 'openldap2-devel', + 'perl-Archive-Tar': 'perl-Archive-Tar-Wrapper', + 'perl-JSON-Parse': 'perl-JSON-XS', + 'perl-generators': '', + 'perl-interpreter': '', + 'procps-ng': 'procps', + 'python-dns': 'python2-dnspython', + 'python3-crypto': 'python3-pycrypto', + 'python3-dns': 'python3-dnspython', + 'python3-markdown': 'python3-Markdown', + 'quota-devel': '', + } + } } |