init for lookahead 10

This commit is contained in:
Louis Abel 2023-09-21 09:42:43 -07:00
commit 12ba1fb082
Signed by: label
GPG Key ID: B37E62D143879B36
22 changed files with 49270 additions and 0 deletions

15
README.md Normal file
View File

@ -0,0 +1,15 @@
pungi-rocky
===========
This repo contains various confs and XML data to necesitate the compose
process. For the most part, the configurations stay static. Extra repos
will receive their own confs that list their specific compose tag in
koji.
```
* r8 -> Stable for Rocky 8
* r8s -> Predicted, Beta, and so one that will be merged into stable
* r9 -> Stable for Rocky 9
* r9s -> LookAhead variant for Rocky 9
* r10s -> LookAhead variant for Rocky 10
```

2
generate-prepop-yaml Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
python -c 'import sys, yaml, json; print(yaml.dump(json.loads(sys.stdin.read())))' < prepopulate.json > prepopulate.yaml

48228
prepopulate.json Normal file

File diff suppressed because it is too large Load Diff

16
reset-prepopulate.py Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env python3
import json
remove_these = [
'rhc',
'insights-client'
'redhat-cloud-client-configuration'
]
arches = [
'x86_64',
'aarch64',
'ppc64le',
's390x'
]

8
rocky.conf Normal file
View File

@ -0,0 +1,8 @@
from shared/variables import *
from rocky/variables import *
from shared/all import *
from rocky/override import *
global_release = '!RELEASE_FROM_DATE_RESPIN'
sigkeys = [None]

15
rocky/override.conf Normal file
View File

@ -0,0 +1,15 @@
# This files overrides default variables defined in the configs in
# the ../shared directory.
#from images import *
# Unsigned builds for now
sigkeys = [None]
tree_arches = ['aarch64', 'ppc64le', 's390x', 'x86_64']
lorax_use_koji_plugin = False
translate_paths = [ # required by image-build
("/mnt/koji", "https://koji.rockylinux.org/kojifiles")
]

53
rocky/variables.conf Normal file
View File

@ -0,0 +1,53 @@
# This file sets the values of variables defined in
# the `../shared/variables.conf`.
RELEASE_NAME = 'Rocky Linux'
RELEASE_SHORT = 'Rocky'
RELEASE_VERSION = '10'
VERSION = '10-lh'
PKGSET_KOJI_TAG = 'r10-compose'
PKGSET_KOJI_MODULE_TAG = 'el9-modules-pending-signed'
RUNROOT_CHANNEL = 'runroot'
RUNROOT_TAG = 'r10-build'
COMPS_REPO = 'https://git.rockylinux.org/rocky/comps.git'
COMPS_BRANCH = 'main'
COMPS_FILE = 'comps-rocky-%s.xml' % VERSION
COMPS_COMMAND = ''
MODULE_DEFAULTS_REPO = 'https://git.rockylinux.org/rocky/rocky-module-defaults.git'
MODULE_DEFAULTS_BRANCH = 'r10s'
VARIANTS_SCM = 'git'
VARIANTS_REPO = 'https://git.rockylinux.org/rocky/pungi-rocky.git'
VARIANTS_BRANCH = 'r%ss' % RELEASE_VERSION
VARIANTS_FILE = 'variants.xml'
GATHER_PREPOPULATE_REPO = 'https://git.rockylinux.org/rocky/pungi-rocky.git'
GATHER_PREPOPULATE_BRANCH = 'r%ss' % RELEASE_VERSION
GATHER_PREPOPULATE_FILE = 'prepopulate.json'
GATHER_PREPOPULATE_COMMAND = ''
EXTRA_FILES = [
{
"scm": "git",
"repo": "https://git.rockylinux.org/staging/src/rocky-release.git",
"branch": "r10",
"file": [
"SOURCES/LICENSE",
"SOURCES/EULA",
"SOURCES/COMMUNITY-CHARTER",
"SOURCES/RPM-GPG-KEY-Rocky-10",
"SOURCES/RPM-GPG-KEY-Rocky-10-Testing",
],
"target": "",
}
]
EXTRA_BUILDINSTALL_SKIP = ('^BaseOS$', {
'i386': True,
})
EXTRA_ISO_ARCHES = ['aarch64', 'ppc64le', 's390x', 'x86_64']

View File

@ -0,0 +1,395 @@
filter_packages = [
("^(BaseOS|AppStream|CRB|HighAvailability|ResilientStorage|SAP|SAPHANA)$", {
"*": [
"kernel-rt*", #RhBug 1973568
"javapackages-bootstrap", #CS-636
]
}),
("^.*$", {
"*": [
"glibc32",
"libgcc32",
"scap-security-guide-rule-playbooks",
"*openh264*", # https://fedoraproject.org/wiki/Non-distributable-rpms
"python3-openipmi", #RhBug 1982794
"OpenIPMI-perl", #RhBug 1982794
]
"ppc64le": [
"SLOF",
"guestfs-tools",
"libguestfs",
"libvirt-daemon-kvm",
"libvirt-daemon-driver-qemu",
"qemu-kiwi",
"qemu-kvm",
"supermin",
"virt-manager",
"virt-v2v",
"virt-p2v",
"virt-top",
"cockpit-machines",
],
"s390x": [
"rust-std-static-wasm32-unknown-unknown", #ENGCMP-1255
"rust-std-static-wasm32-wasi",
],
}),
]
additional_packages = [
# Everything contains everything.
('^Everything$', {
'*': [
'*',
],
}),
("^BaseOS$", {
"*": [
"liblockfile", #ENGCMP-2535
"python3-gobject-base-noarch", #ENGCMP-2400
"python3-samba-dc", #ENGCMP-3007
"python3.9-debuginfo", #ENGCMP-1433, ENGCMP-2994
"samba-tools", #ENGCMP-3007
"samba-usershares", #ENGCMP-3007
"subscription-manager-cockpit", #ENGCMP-2427
"subscription-manager-rhsm-certificates", #ENGCMP-2357
"kernel-modules-core", #ENGCMP-2899
"kernel-debug-modules-core", #ENGCMP-2899
]
}),
("^BaseOS$", {
"aarch64": [
"kernel-64k", #ENGCMP-2800
"kernel-64k-core", #ENGCMP-2800
"kernel-64k-debug", #ENGCMP-2800
"kernel-64k-debug-core", #ENGCMP-2800
"kernel-64k-debug-modules", #ENGCMP-2800
"kernel-64k-debug-modules-core", #ENGCMP-2899, ENGCMP-2800
"kernel-64k-debug-modules-extra", #ENGCMP-2800
"kernel-64k-modules", #ENGCMP-2800
"kernel-64k-modules-extra", #ENGCMP-2800
"kernel-64k-modules-core", #ENGCMP-2899, ENGCMP-2800
],
"ppc64le": [
],
"x86_64": [
"kernel-uki-virt", #ENGCMP-2899
"kernel-debug-uki-virt", #ENGCMP-2899
],
"s390x": [
"kernel-zfcpdump-modules-core",
],
}),
("^AppStream$", {
"*": [
"aardvark-dns", #ENGCMP-2515
"adobe-source-code-pro-fonts", #ENGCMP-2390
"alsa-plugins-pulseaudio", #ENGCMP-2359
"aspnetcore-runtime-7.0", #ENGCMP-2586
"aspnetcore-runtime-8.0", #ENGCMP-3375
"aspnetcore-targeting-pack-7.0", #ENGCMP-2586
"aspnetcore-targeting-pack-8.0", #ENGCMP-3375
"capstone", #ENGCMP-2591
"cockpit-ostree", #ENGCMP-3233
"dotnet-apphost-pack-7.0", #ENGCMP-2586
"dotnet-apphost-pack-8.0", #ENGCMP-3375
"dotnet-host", #ENGCMP-2586
"dotnet-hostfxr-7.0", #ENGCMP-2586
"dotnet-hostfxr-8.0", #ENGCMP-3375
"dotnet-runtime-7.0", #ENGCMP-2586
"dotnet-runtime-8.0", #ENGCMP-3375
"dotnet-sdk-7.0", #ENGCMP-2586
"dotnet-sdk-8.0", #ENGCMP-3375
"dotnet-sdk-8.0-source-built-artifacts", #ENGCMP-3375
"dotnet-targeting-pack-7.0", #ENGCMP-2586
"dotnet-targeting-pack-8.0", #ENGCMP-3375
"dotnet-templates-7.0", #ENGCMP-2586
"dotnet-templates-8.0", #ENGCMP-3375
"dpdk-devel", #ENGCMP-2205
"ecj", #ENGCMP-2928
"egl-utils", #ENGCMP-2476
"firefox-x11", #ENGCMP-2806
"freeglut-devel", #ENGCMP-2073
"frr-selinux", #ENGCMP-2697
"gcc-toolset-12", #ENGCMP-2391
"gcc-toolset-12-annobin-annocheck", #ENGCMP-2384
"gcc-toolset-12-annobin-docs", #ENGCMP-2384
"gcc-toolset-12-annobin-plugin-gcc", #ENGCMP-2384
"gcc-toolset-12-binutils", #ENGCMP-2415
"gcc-toolset-12-binutils-devel", #ENGCMP-2415
"gcc-toolset-12-binutils-gold", #ENGCMP-2415
"gcc-toolset-12-build", #ENGCMP-2391
"gcc-toolset-12-dwz", #ENGCMP-2402
"gcc-toolset-12-gcc", #ENGCMP-2405
"gcc-toolset-12-gcc-c++", #ENGCMP-2405
"gcc-toolset-12-gcc-gfortran", #ENGCMP-2405
"gcc-toolset-12-gcc-plugin-annobin", #ENGCMP-2805
"gcc-toolset-12-gcc-plugin-devel", #ENGCMP-2405
"gcc-toolset-12-gdb", #ENGCMP-2416
"gcc-toolset-12-gdbserver", #ENGCMP-2416
"gcc-toolset-12-libasan-devel", #ENGCMP-2405
"gcc-toolset-12-libatomic-devel", #ENGCMP-2405
"gcc-toolset-12-libgccjit", #ENGCMP-2405
"gcc-toolset-12-libgccjit-devel", #ENGCMP-2405
"gcc-toolset-12-libgccjit-docs", #ENGCMP-2405
"gcc-toolset-12-libitm-devel", #ENGCMP-2405
"gcc-toolset-12-liblsan-devel", #ENGCMP-2405
"gcc-toolset-12-libquadmath-devel", #ENGCMP-2405
"gcc-toolset-12-libstdc++-devel", #ENGCMP-2405
"gcc-toolset-12-libstdc++-docs", #ENGCMP-2405
"gcc-toolset-12-libtsan-devel", #ENGCMP-2405
"gcc-toolset-12-libubsan-devel", #ENGCMP-2405
"gcc-toolset-12-offload-nvptx", #ENGCMP-2405
"gcc-toolset-12-runtime", #ENGCMP-2391
"gcc-toolset-13", #ENGCMP-3157
"gcc-toolset-13-annobin-annocheck", #ENGCMP-3279
"gcc-toolset-13-annobin-docs", #ENGCMP-3279
"gcc-toolset-13-annobin-plugin-gcc", #ENGCMP-3279
"gcc-toolset-13-binutils", #ENGCMP-3146
"gcc-toolset-13-binutils-devel", #ENGCMP-3279
"gcc-toolset-13-binutils-gold", #ENGCMP-3279
"gcc-toolset-13-build", #ENGCMP-3279
"gcc-toolset-13-dwz", #ENGCMP-3142
"gcc-toolset-13-gcc", #ENGCMP-3267
"gcc-toolset-13-gcc-c++", #ENGCMP-3296
"gcc-toolset-13-gcc-gfortran", #ENGCMP-3279
"gcc-toolset-13-gcc-plugin-annobin", #ENGCMP-3279
"gcc-toolset-13-gcc-plugin-devel", #ENGCMP-3279
"gcc-toolset-13-gdb", #ENGCMP-3129
"gcc-toolset-13-gdbserver", #ENGCMP-3279
"gcc-toolset-13-libasan-devel", #ENGCMP-3279
"gcc-toolset-13-libatomic-devel", #ENGCMP-3279
"gcc-toolset-13-libgccjit", #ENGCMP-3279
"gcc-toolset-13-libgccjit-devel", #ENGCMP-3279
"gcc-toolset-13-libgccjit-docs", #ENGCMP-3279
"gcc-toolset-13-libitm-devel", #ENGCMP-3279
"gcc-toolset-13-liblsan-devel", #ENGCMP-3279
"gcc-toolset-13-libquadmath-devel", #ENGCMP-3279
"gcc-toolset-13-libstdc++-devel", #ENGCMP-3279
"gcc-toolset-13-libstdc++-docs", #ENGCMP-3279
"gcc-toolset-13-libtsan-devel", #ENGCMP-3279
"gcc-toolset-13-libubsan-devel", #ENGCMP-3279
"gcc-toolset-13-offload-nvptx", #ENGCMP-3279
"gcc-toolset-13-runtime", #ENGCMP-3279
"gnome-kiosk-script-session", #ENGCMP-2499
"gnome-kiosk-search-appliance", #ENGCMP-2499
"gnome-shell-extension-custom-menu", #ENGCMP-3337
"google-crosextra-caladea-fonts", #ENGCMP-3140
"gpsd-minimal", #ENGCMP-3333
"gpsd-minimal-clients", #ENGCMP-3333
"gstreamer1-plugins-base-tools", #ENGCMP-2907
"gstreamer1-rtsp-server", #ENGCMP-3178
"idm-pki-est", #ENGCMP-2798
"ignition-edge", #ENGCMP-2770
"ignition-validate", #ENGCMP-2656
"java-21-openjdk", #ENGCMP-3350
"java-21-openjdk-demo", #ENGCMP-3350
"java-21-openjdk-devel", #ENGCMP-3350
"java-21-openjdk-headless", #ENGCMP-3350
"java-21-openjdk-javadoc-zip", #ENGCMP-3350
"java-21-openjdk-javadoc", #ENGCMP-3350
"java-21-openjdk-jmods", #ENGCMP-3350
"java-21-openjdk-src", #ENGCMP-3350
"java-21-openjdk-static-libs", #ENGCMP-3350
"jaxb-runtime", #ENGCMP-2881
"jaxb-xjc", #ENGCMP-2881
"keylime", #ENGCMP-2419
"keylime-agent-rust", #ENGCMP-2420
"keylime-base", #ENGCMP-2419
"keylime-registrar", #ENGCMP-2419
"keylime-selinux", #CS-1194
"keylime-tenant", #ENGCMP-2419
"keylime-verifier", #ENGCMP-2419
"libasan8", #ENGCMP-2405
"libblkio", #ENGCMP-3149
"libgpiod", #ENGCMP-2433
"libgpiod-devel", #ENGCMP-2433
"libgpiod-utils", #ENGCMP-2433
"libi2cd", #ENGCMP-2428
"libi2cd-devel", #ENGCMP-2428
"libnxz", #ENGCMP-2576
"libsepol-utils", #ENGCMP-2399
"libtsan2", #ENGCMP-2405
"libvirt-daemon-common", # ENGCMP-3046
"libvirt-daemon-lock", # ENGCMP-3046
"libvirt-daemon-log", # ENGCMP-3046
"libvirt-daemon-plugin-lockd", # ENGCMP-3046
"libvirt-daemon-proxy", # ENGCMP-3046
"libvma-utils", #ENGCMP-3384
"libxcvt", #ENGCMP-2791 CS-1322
"libzdnn", #ENGCMP-2244
"libzdnn-devel", #ENGCMP-2297
"man-db-cron", #ENGCMP-2595
"mingw-qemu-ga-win", #ENGCMP-3177
"mkpasswd", #ENGCMP-2259
"mpdecimal", #ENGCMP-2828
"netavark", #ENGCMP-2543
"netstandard-targeting-pack-2.1", #ENGCMP-2586
"nfsv4-client-utils", #ENGCMP-2493
"nvme-stas", #ENGCMP-2495
"libnvme", #ENGCMP-2358
"passt", #ENGCMP-2741
"passt-selinux", # ENGCMP-3074
"pf-bb-config", #ENGCMP-2857
"pipewire-module-x11", #ENGCMP-3336
"poppler-qt5", #ENGCMP-2393
"postfix-lmdb", #ENGCMP-3295
"pyproject-srpm-macros", #ENGCMP-2964
"python3-botocore", #ENGCMP-3400
"python3-dnf-plugin-leaves", #ENGCMP-3213
"python3-dnf-plugin-show-leaves", #ENGCMP-3213
"python3-pefile", #ENGCMP-3231
"python3.11", #ENGCMP-2833
"python3.11-cffi", #ENGCMP-2957
"python3.11-charset-normalizer", #ENGCMP-2914
"python3.11-cryptography", #ENGCMP-2958
"python3.11-devel", #ENGCMP-2982
"python3.11-idna", #ENGCMP-2888
"python3.11-lxml", #ENGCMP-2954
"python3.11-mod_wsgi", #ENGCMP-2955
"python3.11-numpy", #ENGCMP-2933
"python3.11-numpy-f2py", #ENGCMP-2982
"python3.11-pip", #ENGCMP-2858
"python3.11-ply", #ENGCMP-2911
"python3.11-psycopg2", #ENGCMP-2956
"python3.11-pycparser", #ENGCMP-2923
"python3.11-PyMySQL", #ENGCMP-2963
"python3.11-PyMySQL+rsa", #ENGCMP-2982
"python3.11-pysocks", #ENGCMP-2912
"python3.11-pyyaml", #ENGCMP-2910
"python3.11-requests", #ENGCMP-2940
"python3.11-requests+security", #ENGCMP-2982
"python3.11-requests+socks", #ENGCMP-2982
"python3.11-scipy", #ENGCMP-2979
"python3.11-setuptools", #ENGCMP-2860
"python3.11-six", #ENGCMP-2872
"python3.11-tkinter", #ENGCMP-2982
"python3.11-wheel", #ENGCMP-2873
"python3-dnf-plugin-modulesync", #ENGCMP-2323
"python3-alembic", #ENGCMP-2424
"python3-greenlet", #ENGCMP-2421
"python3-keylime", #ENGCMP-2419
"python3-lark-parser", #ENGCMP-2422
"python3-lasso", #ENGCMP-2742
"python3-i2c-tools", #RHBZ#2072719
"python3-libgpiod", #ENGCMP-2433
"python3-libnvme", #ENGCMP-2412
"python3-pyqt5-sip", #ENGCMP-2370
"python3-sqlalchemy", #ENGCMP-2423
"python3-tomli", #ENGCMP-3044 CS-1485
"python3-tornado", #ENGCMP-2418
"python3.11-urllib3", #ENGCMP-2932
"python3-virt-firmware", #ENGCMP-2726
"python3-wcwidth", #ENGCMP-2093
"qatlib-service", #ENGCMP-2490
"redhat-cloud-client-configuration", #ENGCMP-2401
"rtla", #ENGCMP-2799
"rust-analyzer", #ENGCMP-2839
"rv", #ENGCMP-3263
"sip6", #ENGCMP-2239
"sssd-idp", #ENGCMP-2276
"stratisd-tools", #ENGCMP-3210
"synce4l", #ENGCMP-2794
"system-backgrounds",
"tomcat", #ENGCMP-2927
"tomcat-admin-webapps", #ENGCMP-2927
"tomcat-docs-webapp", #ENGCMP-2927
"tomcat-el-3.0-api", #ENGCMP-2927
"tomcat-jsp-2.3-api", #ENGCMP-2927
"tomcat-lib", #ENGCMP-2927
"tomcat-servlet-4.0-api", #ENGCMP-2927
"tomcat-webapps", #ENGCMP-2927
"tuned-profiles-postgresql", #ENGCMP-2126
"usbredir-server", #ENGCMP-2719
"xcb-util-cursor", #ENGCMP-3426
"xdg-desktop-portal-gnome", #ENGCMP-2146
"xmlstarlet", #ENGCMP-2296
"xxhash", #ENGCMP-2455
"xxhash-libs", #ENGCMP-2455
"yara", #ENGCMP-2372
]
}),
("^AppStream$", {
"x86_64": [
"cxl-cli", #ENGCMP-2743
"cxl-libs", #ENGCMP-2743
"libreoffice", #ENGCMP-2968
"open-vm-tools-salt-minion", #ENGCMP-2295
"virt-dib",
"vorbis-tools",
],
"aarch64": [
"virt-dib",
"kernel-64k-debug-devel", #ENGCMP-2800
"kernel-64k-debug-devel-matched", #ENGCMP-2800
"kernel-64k-devel", #ENGCMP-2800
"kernel-64k-devel-matched", #ENGCMP-2800
"rhc-worker-playbook", #ENGCMP-3127
],
"s390x": [
"libzpc", #ENGCMP-2756
"virt-dib",
],
"ppc64le": [
"vorbis-tools",
"libreoffice", #ENGCMP-2968
],
}),
("^CRB$", {
"*": [
],
"x86_64": [
"java-1.8.0-openjdk-*slowdebug*", #ENGCMP-1327
"java-11-openjdk-*slowdebug*", #ENGCMP-1327
"java-17-openjdk-*slowdebug*", #ENGCMP-1326
"java-1.8.0-openjdk-*fastdebug*", #ENGCMP-1327
"java-11-openjdk-*fastdebug*", #ENGCMP-1327
"java-17-openjdk-*fastdebug*", #ENGCMP-1326
"dotnet-sdk-6.0-source-built-artifacts", #CS-1025
],
"aarch64": [
"java-1.8.0-openjdk-*slowdebug*", #ENGCMP-1327
"java-11-openjdk-*slowdebug*", #ENGCMP-1327
"java-17-openjdk-*slowdebug*", #ENGCMP-1326
"java-1.8.0-openjdk-*fastdebug*", #ENGCMP-1327
"java-11-openjdk-*fastdebug*", #ENGCMP-1327
"java-17-openjdk-*fastdebug*", #ENGCMP-1326
"dotnet-sdk-6.0-source-built-artifacts", #CS-1025
],
"s390x": [
"java-11-openjdk-*slowdebug*", #ENGCMP-1327
"java-17-openjdk-*slowdebug*", #ENGCMP-1326
"dotnet-sdk-6.0-source-built-artifacts", #CS-1025
],
"ppc64le": [
"java-1.8.0-openjdk-*slowdebug*", #ENGCMP-1327
"java-11-openjdk-*slowdebug*", #ENGCMP-1327
"java-17-openjdk-*slowdebug*", #ENGCMP-1326
"java-1.8.0-openjdk-*fastdebug*", #ENGCMP-1327
"java-11-openjdk-*fastdebug*", #ENGCMP-1327
"java-17-openjdk-*fastdebug*", #ENGCMP-1326
],
}),
("^SAP$", {
"*": [
"compat-sap-c++-12", # ENGCMP-2843
]
}),
("^SAPHANA$", {
"*": [
"compat-sap-c++-12", # ENGCMP-2843
]
}),
("^Buildroot$", {
"*": [
"*",
]
}),
]

11
shared/all.conf Normal file
View File

@ -0,0 +1,11 @@
from general import *
from multilib import *
from additional_and_filter_packages import *
from runroot import *
from pkgset import *
from gather import *
from createrepo import *
from createiso import *
from buildinstall import *
from lookaside import *
from extra_isos import *

32
shared/buildinstall.conf Normal file
View File

@ -0,0 +1,32 @@
bootable = True
buildinstall_method = "lorax"
lorax_options = [
("^.*$", {
"*": {
"noupgrade": False,
# Comment out until the pungi-buildinstall Koji plugin supports this option.
# "squashfs_only": True
}
})
]
buildinstall_skip = [
EXTRA_BUILDINSTALL_SKIP,
('^Everything$', {
'i386': True,
}),
("^(AppStream|CRB|ResilientStorage|HighAvailability|SAP|SAPHANA|RT|NFV)$", {
'*': True
}),
]
image_name_format = {
# BaseOS ISO filename should not mention BaseOS, it also contains AppStream
# content. Addons should have the addon name though.
"^BaseOS$": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",
".*": "{compose_id}-{variant}-{arch}-{disc_type}{disc_num}{suffix}",
}
buildinstall_use_guestmount = True
buildinstall_allow_reuse = True

16
shared/createiso.conf Normal file
View File

@ -0,0 +1,16 @@
create_optional_isos = False
createiso_use_xorrisofs = True
createiso_skip = [
("^(BaseOS|AppStream|CRB|NFV)$", {
# No binary ISOs for BaseOS (but still generate src ISOs) - RCM-41330
# No binary ISOs for AppStream (but still generate src ISOs) - RCM-40356
# No binary or src ISOs for CRB
# No binary or src ISOs for NFV
# Note: "*" matches only binary architectures.
"*": True,
"src":True #RCM-41427 -Disable source iso generation during createiso phase
}),
]
restricted_volid = True

2
shared/createrepo.conf Normal file
View File

@ -0,0 +1,2 @@
createrepo_c = True
createrepo_checksum = "sha256"

12
shared/extra_isos.conf Normal file
View File

@ -0,0 +1,12 @@
iso_hfs_ppc64le_compatible = False
extra_isos = {
"BaseOS": [{
"include_variants": ["AppStream"],
"filename": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",
"skip_src": False,
"extra_files": EXTRA_FILES,
"arches": EXTRA_ISOS_ARCHES,
"failable_arches": ['i386']
}]
}

23
shared/gather.conf Normal file
View File

@ -0,0 +1,23 @@
gather_backend = "dnf"
check_deps = False
gather_method = {
# Anything that is not AppStream, CRB or Buildroot should use the old depsolver
"^(?!(AppStream|CRB|Buildroot)).*$": {
"comps": "deps",
"json": "deps",
},
"^(AppStream|CRB|Buildroot)$": "hybrid",
}
hashed_directories = False
gather_allow_reuse = True
repoclosure_backend = 'dnf'
gather_prepopulate = {
'scm': 'file',
'repo': GATHER_PREPOPULATE_REPO,
'branch': GATHER_PREPOPULATE_BRANCH,
'file': GATHER_PREPOPULATE_FILE,
'command': GATHER_PREPOPULATE_COMMAND
}

41
shared/general.conf Normal file
View File

@ -0,0 +1,41 @@
release_name = RELEASE_NAME
release_short = RELEASE_SHORT
release_version = RELEASE_VERSION
release_is_layered = False
link_type = "abspath-symlink"
productimg = False
create_jigdo = False
# Wait for 60 * 20 seconds (20 minutes) for packages to sign.
signed_packages_wait = 60
signed_packages_retries = 20
comps_file = {
'scm': 'git',
'repo': COMPS_REPO,
'branch': COMPS_BRANCH,
'file': COMPS_FILE,
'command': COMPS_COMMAND
}
module_defaults_dir = {
'scm': 'git',
'repo': MODULE_DEFAULTS_REPO,
'branch': MODULE_DEFAULTS_BRANCH,
'dir': '.'
}
variants_file = {
"scm": "git",
"repo": VARIANTS_REPO,
"branch": VARIANTS_BRANCH,
"file": VARIANTS_FILE,
}
extra_files = [
("^.*$", {
"*": EXTRA_FILES,
}),
]

19
shared/lookaside.conf Normal file
View File

@ -0,0 +1,19 @@
variant_as_lookaside = [
("AppStream", "BaseOS"),
("HighAvailability", "BaseOS"),
("HighAvailability", "AppStream"),
("ResilientStorage", "BaseOS"),
("ResilientStorage", "AppStream"),
("RT", "BaseOS"),
("RT", "AppStream"),
("NFV", "BaseOS"),
("NFV", "AppStream"),
("CRB", "BaseOS"),
("CRB", "AppStream"),
("SAP", "BaseOS"),
("SAP", "AppStream"),
("SAP", "HighAvailability"),
("SAPHANA", "BaseOS"),
("SAPHANA", "AppStream"),
("SAPHANA", "HighAvailability"),
]

55
shared/multilib.conf Normal file
View File

@ -0,0 +1,55 @@
multilib = [
("^.*$", {
"x86_64": ["devel", "runtime"]
}),
]
# format: {arch|*: [packages]}
multilib_blacklist = {
"*": [
"libvirt*", # RhBug 1571159
"java-*", # RCM-28652
"totem", #RCM-43729
"ocaml*", # RCM-53665
"fwupd*", # ENGCMP-488
"freeradius*", #RhBug 1923990
"httpd-*", #ENGCMP-716
"nginx-*",
"php-*",
"subversion-*",
"mariadb-common", #ENGCMP-1061
"mariadb-devel",
"mariadb-embedded*",
"mariadb-errmsg",
"mysql-common",
"mysql-devel",
"mysql-libs",
"mecab",
"mecab-devel", #ENGCMP-3099
"postgresql-private*", #ENGCMP-1179
"postgresql-server*",
"bash*", #RhBug 2006138
"xapian-core*", #RhBug 2031780
"tk*", #RhBug 2053406
"tcl*",
"ldns-devel*", #RhBug 2058694
"postgresql*", #ENGCMP-2185
"fwupd*",
"gnome-software*", #ENGCMP-3346
"libfastjson-devel*",
"liblognorm-devel*",
"librelp-devel*",
],
}
# format: {arch|*: [packages]}
multilib_whitelist = {
"*": [
"valgrind",
"papi",
"gcc-toolset-9-valgrind", # RCM-60082
"p11-kit-trust", # RCM-62077
"gcc-toolset-13-libgccjit", #ENGCMP-3279
],
}

5
shared/pkgset.conf Normal file
View File

@ -0,0 +1,5 @@
pkgset_source = "koji"
pkgset_koji_tag = PKGSET_KOJI_TAG
pkgset_koji_module_tag = PKGSET_KOJI_MODULE_TAG
pkgset_inherit_exclusive_arch_to_noarch = False

10
shared/runroot.conf Normal file
View File

@ -0,0 +1,10 @@
runroot = True
global_runroot_method = "koji"
runroot_method = {
"createiso": "local"
}
runroot_channel = RUNROOT_CHANNEL
runroot_tag = RUNROOT_TAG

37
shared/variables.conf Normal file
View File

@ -0,0 +1,37 @@
global RELEASE_NAME
global RELEASE_SHORT
global RELEASE_VERSION
global PKGSET_KOJI_TAG
global PKGSET_KOJI_MODULE_TAG
global RUNROOT_CHANNEL
global RUNROOT_TAG
global RELEASE_VERSION
global RELEASE_VERSION_X
global RELEASE_VERSION_Y
global RELEASE_VERSION_Z
global RELEASE_VERSION_XY
global RELEASE_VERSION_XYZ
global COMPS_REPO
global COMPS_BRANCH
global COMPS_FILE
global COMPS_COMMAND
global MODULE_DEFAULTS_REPO
global MODULE_DEFAULTS_BRANCH
global VARIANTS_REPO
global VARIANTS_BRANCH
global VARIANTS_FILE
global GATHER_PREPOPULATE_REPO
global GATHER_PREPOPULATE_BRANCH
global GATHER_PREPOPULATE_FILE
global EXTRA_BUILDINSTALL_SKIP
EXTRA_BUILDINSTALL_SKIP = ("^$", {"*": False})
global GATHER_PREPOPULATE_REPO
global GATHER_PREPOPULATE_BRANCH
global GATHER_PREPOPULATE_FILE
global GATHER_PREPOPULATE_COMMAND
global EXTRA_FILES
EXTRA_FILES = []
global EXTRA_ISOS_ARCHES
EXTRA_ISOS_ARCHES = []
global IMAGE_BUILD_SCRATCH
IMAGE_BUILD_SCRATCH = False

20
sync-from-upstream Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
HOWMANY="-$1"
if [ -z $1 ]; then
HOWMANY="-1"
fi
BRANCH=$(git branch --show-current)
if [[ ! "${BRANCH}" =~ "r10s" ]]; then
echo "Not a lookahead branch."
exit 1
fi
echo "Fetching from upstream"
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos.git centos-9-stream
echo "Formatting patch and applying..."
git format-patch --stdout ${HOWMANY} FETCH_HEAD | sed -e 's|centos/|rocky/|' | git apply
echo "!! DIFF OF CHANGES !!"
git --no-pager diff HEAD
echo "You may now commit and push."

255
variants.xml Normal file
View File

@ -0,0 +1,255 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants2012.dtd">
<variants>
<!-- General variants built also in Fedora. -->
<variant id="BaseOS" name="BaseOS" type="variant" has_optional="false">
<arches>
<arch>aarch64</arch>
<arch>ppc64le</arch>
<arch>s390x</arch>
<arch>x86_64</arch>
<arch>i386</arch>
</arches>
<!-- List of comps groups that should be part of BaseOS compose variant -->
<groups>
<!-- Essential groups for Anaconda installation -->
<group default="true">guest-agents</group>
<group default="true">standard</group>
<group default="true">base</group>
<group default="true">core</group>
<!-- Other groups -->
<group default="true">additional-devel</group>
<group default="false">anaconda-tools</group>
<group default="false">conflicts-baseos</group>
<group default="true">development</group>
<group default="true">server-product</group>
<group default="true">dial-up</group>
<group default="true">networkmanager-submodules</group>
<group default="true">file-server</group>
<group default="true">fonts</group>
<group default="true">gnome-desktop</group>
<group default="true">graphical-admin-tools</group>
<group default="true">hardware-monitoring</group>
<group default="true">hardware-support</group>
<group default="true">infiniband</group>
<group default="true">headless-management</group>
<group default="true">large-systems</group>
<group default="true">legacy-unix</group>
<group default="true">mail-server</group>
<group default="true">mainframe-access</group>
<group default="true">multimedia</group>
<group default="true">smart-card</group>
<group default="true">smb-server</group>
<group default="true">network-tools</group>
<group default="true">network-file-system-client</group>
<group default="true">network-server</group>
<group default="true">performance</group>
<group default="true">platform-devel</group>
<group default="true">python-web</group>
<group default="true">remote-system-management</group>
<group default="true">scientific</group>
<group default="true">security-tools</group>
<group default="true">system-tools</group>
<group default="true">workstation-product</group>
</groups>
<!-- List of environments from comps that should be part of BaseOS compose variant -->
<environments>
<environment display_order="3">minimal-environment</environment>
<environment display_order="99">custom-environment</environment>
<environment display_order="2">server-product-environment</environment>
</environments>
</variant>
<variant id="AppStream" name="AppStream" type="variant">
<arches>
<arch>aarch64</arch>
<arch>ppc64le</arch>
<arch>s390x</arch>
<arch>x86_64</arch>
<arch>i386</arch>
</arches>
<!-- List of comps groups that should be part of AppStream compose variant -->
<groups>
<group default="true">standard</group>
<group default="false">anaconda-tools</group>
<group default="true">base</group>
<group default="false">conflicts-appstream</group>
<group default="true">core</group>
<group default="true">additional-devel</group>
<group default="true">base-x</group>
<group default="true">console-internet</group>
<group default="true">debugging</group>
<group default="true">development</group>
<group default="true">dotnet</group>
<group default="true">dns-server</group>
<group default="true">emacs</group>
<group default="true">file-server</group>
<group default="true">ftp-server</group>
<group default="true">gnome-apps</group>
<group default="true">gnome-desktop</group>
<group default="true">guest-desktop-agents</group>
<group default="true">graphical-admin-tools</group>
<group default="true">graphics</group>
<group default="true">hardware-monitoring</group>
<group default="true">infiniband</group>
<group default="true">workstation-product</group>
<group default="true">multimedia</group>
<group default="true">mail-server</group>
<group default="true">mainframe-access</group>
<group default="true">network-server</group>
<group default="true">network-tools</group>
<group default="true">container-management</group>
<group default="true">smb-server</group>
<group default="true">dial-up</group>
<group default="true">fonts</group>
<group default="true">input-methods</group>
<group default="true">multimedia</group>
<group default="true">networkmanager-submodules</group>
<group default="true">network-file-system-client</group>
<group default="true">print-client</group>
<group default="true">desktop-debugging</group>
<group default="true">internet-browser</group>
<group default="true">gnome-desktop</group>
<group default="true">guest-agents</group>
<group default="true">guest-desktop-agents</group>
<group default="true">headless-management</group>
<group default="true">java-platform</group>
<group default="true">java-development</group>
<group default="true">gnome-apps</group>
<group default="true">internet-applications</group>
<group default="true">office-suite</group>
<group default="true">performance</group>
<group default="true">platform-devel</group>
<group default="true">platform-kvm</group>
<group default="true">platform-microsoft</group>
<group default="true">platform-vmware</group>
<group default="true">scientific</group>
<group default="true">ostree-support</group>
<group default="true">security-tools</group>
<group default="true">smart-card</group>
<group default="true">smb-server</group>
<group default="true">system-tools</group>
<group default="true">texlive</group>
<group default="true">legacy-x</group>
<group default="true">backup-client</group>
<group default="true">remote-desktop-clients</group>
<group default="true">remote-system-management</group>
<group default="true">rpm-development-tools</group>
<group default="true">virtualization-client</group>
<group default="true">virtualization-hypervisor</group>
<group default="true">virtualization-platform</group>
<group default="true">virtualization-tools</group>
<group default="true">web-server</group>
</groups>
<!-- List of environments from comps that should be part of BaseOS compose variant -->
<environments>
<environment display_order="3">minimal-environment</environment>
<environment display_order="99">virtualization-host-environment</environment>
<environment display_order="99">custom-environment</environment>
<environment display_order="2">server-product-environment</environment>
<environment display_order="1">graphical-server-environment</environment>
<environment display_order="4">workstation-product-environment</environment>
</environments>
<modules>
<module>maven:3.8</module>
<module>nginx:1.22</module>
<module>nodejs:18</module>
<module>nodejs:20</module>
<module>php:8.1</module>
<module>postgresql:15</module>
<module>redis:7</module>
<module>ruby:3.1</module>
</modules>
</variant>
<variant id="CRB" name="CodeReady Builder" type="variant">
<arches>
<arch>aarch64</arch>
<arch>ppc64le</arch>
<arch>s390x</arch>
<arch>x86_64</arch>
<arch>i386</arch>
</arches>
<groups>
<group default="true">crb</group>
</groups>
<modules>
<module>swig:4.1</module>
</modules>
</variant>
<!-- ADDONS (Defined as variants in RHEL-10) -->
<variant id="ResilientStorage" name="Resilient Storage" type="variant">
<arches>
<arch>ppc64le</arch>
<arch>s390x</arch>
<arch>x86_64</arch>
</arches>
<groups>
<group default="true">ha</group>
<group default="true">ha-devel</group>
<group default="true">resilient-storage</group>
</groups>
</variant>
<variant id="HighAvailability" name="High Availability" type="variant">
<arches>
<arch>aarch64</arch>
<arch>ppc64le</arch>
<arch>s390x</arch>
<arch>x86_64</arch>
</arches>
<groups>
<group default="true">ha</group>
<group default="true">ha-devel</group>
</groups>
</variant>
<!-- Integrated Layered Products (Defined as variants in RHEL-10) -->
<variant id="SAP" name="SAP" type="variant">
<arches>
<arch>ppc64le</arch>
<arch>s390x</arch>
<arch>x86_64</arch>
</arches>
<groups>
<group default="true">sap</group>
</groups>
</variant>
<variant id="SAPHANA" name="SAP HANA" type="variant">
<arches>
<arch>ppc64le</arch>
<arch>x86_64</arch>
</arches>
<groups>
<group default="true">sap-hana</group>
</groups>
</variant>
<variant id="RT" name="RT" type="variant">
<arches>
<arch>x86_64</arch>
</arches>
<groups>
<group default="true">rt</group>
<group default="true">rt-debug</group>
</groups>
</variant>
<variant id="NFV" name="NFV" type="variant">
<arches>
<arch>x86_64</arch>
</arches>
<groups>
<group default="true">rt</group>
<group default="true">rt-debug</group>
<group default="true">nfv</group>
<group default="true">nfv-debug</group>
</groups>
</variant>
</variants>