From 42cbbffc382784e9298c1f5a9a90fdf4eb178802 Mon Sep 17 00:00:00 2001 From: soksanichenko Date: Tue, 23 Aug 2022 15:01:25 +0300 Subject: [PATCH] ALBS-532: Build AlmaLinux 8.6 s390x ISOs and repositories --- s390x/include_exclude.conf | 93 +++++++++++++++++++++++++++++++++++++ s390x/multilib.conf | 3 ++ s390x/variants_options.json | 70 ++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100644 s390x/include_exclude.conf create mode 100644 s390x/multilib.conf create mode 100644 s390x/variants_options.json diff --git a/s390x/include_exclude.conf b/s390x/include_exclude.conf new file mode 100644 index 0000000..a9039ae --- /dev/null +++ b/s390x/include_exclude.conf @@ -0,0 +1,93 @@ +filter_packages = [ + ( + '^(BaseOS|Minimal|AppStream|PowerTools)$', { + 's390x': [ + "insights-client", + "libreport-plugin-rhtsupport", + "libreport-rhel", + "libreport-rhel-anaconda-bugzilla", + "libreport-rhel-bugzilla", + "redhat-backgrounds", + "redhat-logos", + "redhat-logos-httpd", + "redhat-logos-ipa", + "redhat-release-eula", + "redhat-support-lib-python", + "redhat-support-tool", + "spice-client-win-x64", + "spice-client-win-x86", + "spice-qxl-wddm-dod", + "spice-vdagent-win-x64", + "spice-vdagent-win-x86", + "virt-who", + "virtio-win", + "subscription-manager-cockpit", + "subscription-manager-initial-setup-addon", + "rhsm-gtk", + "rhsm-icons", + "rhc", + "rhc-worker-playbook", + "python2-gluster*", + "nmstate.noarch", + "libstoragemgmt-nfs-plugin.noarch", + "python3-libstoragemgmt.noarch", + "python3-libstoragemgmt-clibs", + "libstoragemgmt-nfs-plugin-clibs", + ] + } + ), + ( + '^(BaseOS|Minimal)$', { + 's390x': [ + "perl-Net-SSLeay", + "perl-Mozilla-CA", + "perl-IO-Socket-SSL", + ] + } + ), + ( + '^(AppStream)$', { + 's390x': [ + "java-1.8.0-openjdk-slowdebug", + "java-1.8.0-openjdk-headless-slowdebug", + "sos", + ] + } + ) +] +filter_modules = [ + ( + '^(BaseOS|AppStream|PowerTools)$', { + 's390x': [ + "jmc:rhel8", + ] + } + ) +] + +# Based in distribution-comparison-tool report +additional_packages = [ + ( + '^AppStream$', { + '*': [ + "almalinux-backgrounds", + "libreport-almalinux", + ] + } + ), + ( + '^Minimal$', { + '*': [ + "kernel-modules-extra", + ] + } + ), + ( + '^ResilientStorage$', { + '*': [ + "dlm", + "cmirror", + ] + } + ) +] \ No newline at end of file diff --git a/s390x/multilib.conf b/s390x/multilib.conf new file mode 100644 index 0000000..2326c1b --- /dev/null +++ b/s390x/multilib.conf @@ -0,0 +1,3 @@ +multilib_blacklist = {} +multilib_whitelist = {} +multilib = [] \ No newline at end of file diff --git a/s390x/variants_options.json b/s390x/variants_options.json new file mode 100644 index 0000000..f86a1c3 --- /dev/null +++ b/s390x/variants_options.json @@ -0,0 +1,70 @@ +{ + "BaseOS": { + "gather_methods": "hybrid", + "buildinstall_skip": false, + "image_name_format": "{release_short}-{{ distribution_major_version }}.{{ distribution_minor_version }}{{ beta_suffix }}-{arch}-{disc_type}{suffix}", + "createiso_skip": true, + "extra_isos": [{ + "include_variants": [ + "AppStream" + ], + "filename": "{release_short}-{{ distribution_major_version }}.{{ distribution_minor_version }}{{ beta_suffix }}-{arch}-{disc_type}{suffix}", + "skip_src": true + }] + }, + "AppStream": { + "gather_methods": "hybrid", + "buildinstall_skip": true, + "createiso_skip": true, + "variant_as_lookaside": [ + "BaseOS" + ] + }, + "PowerTools": { + "gather_methods": "hybrid", + "buildinstall_skip": true, + "createiso_skip": true, + "variant_as_lookaside": [ + "BaseOS", + "AppStream" + ] + }, + "HighAvailability": { + "gather_methods": "hybrid", + "buildinstall_skip": true, + "createiso_skip": true, + "variant_as_lookaside": [ + "BaseOS", + "AppStream" + ] + }, + "ResilientStorage": { + "gather_methods": "hybrid", + "buildinstall_skip": true, + "createiso_skip": true, + "variant_as_lookaside": [ + "BaseOS", + "AppStream" + ] + }, + "extras": { + "gather_methods": "hybrid", + "buildinstall_skip": true, + "createiso_skip": true, + "variant_as_lookaside": [ + "BaseOS", + "AppStream" + ] + }, + "Minimal": { + "gather_methods": "hybrid", + "image_name_format": "{release_short}-{{ distribution_major_version }}.{{ distribution_minor_version }}{{ beta_suffix }}-{arch}-minimal{suffix}", + "buildinstall_skip": false, + "createiso_skip": true, + "extra_isos": [{ + "include_variants": [], + "filename": "{release_short}-{{ distribution_major_version }}.{{ distribution_minor_version }}{{ beta_suffix }}-{arch}-minimal{suffix}", + "skip_src": true + }] + } +} \ No newline at end of file