From 3802ca348b880d925066124075acec354d56849b Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 14 Aug 2024 11:53:31 +0200 Subject: [PATCH] Add CentOS Stream 10 + EPEL 10 configs These work with Koji EPEL buildroot only for now since there are no composes, yet. Fixes: #1421 --- .../etc/mock/centos-stream+epel-10-aarch64.cfg | 8 ++++++++ .../etc/mock/centos-stream+epel-10-ppc64le.cfg | 8 ++++++++ .../etc/mock/centos-stream+epel-10-s390x.cfg | 8 ++++++++ .../etc/mock/centos-stream+epel-10-x86_64.cfg | 8 ++++++++ mock-core-configs/etc/mock/templates/epel-10.tpl | 11 +++++++++++ releng/release-notes-next/c10s+epel.config | 2 ++ 6 files changed, 45 insertions(+) create mode 100644 mock-core-configs/etc/mock/centos-stream+epel-10-aarch64.cfg create mode 100644 mock-core-configs/etc/mock/centos-stream+epel-10-ppc64le.cfg create mode 100644 mock-core-configs/etc/mock/centos-stream+epel-10-s390x.cfg create mode 100644 mock-core-configs/etc/mock/centos-stream+epel-10-x86_64.cfg create mode 100644 mock-core-configs/etc/mock/templates/epel-10.tpl create mode 100644 releng/release-notes-next/c10s+epel.config diff --git a/mock-core-configs/etc/mock/centos-stream+epel-10-aarch64.cfg b/mock-core-configs/etc/mock/centos-stream+epel-10-aarch64.cfg new file mode 100644 index 000000000..0aa184964 --- /dev/null +++ b/mock-core-configs/etc/mock/centos-stream+epel-10-aarch64.cfg @@ -0,0 +1,8 @@ +config_opts["koji_primary_repo"] = "epel" +include('templates/centos-stream-10.tpl') +include('templates/epel-10.tpl') + +config_opts['root'] = 'centos-stream+epel-10-aarch64' +config_opts['description'] = 'CentOS Stream 10 + EPEL' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) diff --git a/mock-core-configs/etc/mock/centos-stream+epel-10-ppc64le.cfg b/mock-core-configs/etc/mock/centos-stream+epel-10-ppc64le.cfg new file mode 100644 index 000000000..1348fb8b9 --- /dev/null +++ b/mock-core-configs/etc/mock/centos-stream+epel-10-ppc64le.cfg @@ -0,0 +1,8 @@ +config_opts["koji_primary_repo"] = "epel" +include('templates/centos-stream-10.tpl') +include('templates/epel-10.tpl') + +config_opts['root'] = 'centos-stream+epel-10-ppc64le' +config_opts['description'] = 'CentOS Stream 10 + EPEL' +config_opts['target_arch'] = 'ppc64le' +config_opts['legal_host_arches'] = ('ppc64le',) diff --git a/mock-core-configs/etc/mock/centos-stream+epel-10-s390x.cfg b/mock-core-configs/etc/mock/centos-stream+epel-10-s390x.cfg new file mode 100644 index 000000000..2a6ac9cc8 --- /dev/null +++ b/mock-core-configs/etc/mock/centos-stream+epel-10-s390x.cfg @@ -0,0 +1,8 @@ +config_opts["koji_primary_repo"] = "epel" +include('templates/centos-stream-10.tpl') +include('templates/epel-10.tpl') + +config_opts['root'] = 'centos-stream+epel-10-s3100x' +config_opts['description'] = 'CentOS Stream 10 + EPEL' +config_opts['target_arch'] = 's3100x' +config_opts['legal_host_arches'] = ('s3100x',) diff --git a/mock-core-configs/etc/mock/centos-stream+epel-10-x86_64.cfg b/mock-core-configs/etc/mock/centos-stream+epel-10-x86_64.cfg new file mode 100644 index 000000000..15947795d --- /dev/null +++ b/mock-core-configs/etc/mock/centos-stream+epel-10-x86_64.cfg @@ -0,0 +1,8 @@ +config_opts["koji_primary_repo"] = "epel" +include('templates/centos-stream-10.tpl') +include('templates/epel-10.tpl') + +config_opts['root'] = 'centos-stream+epel-10-x86_64' +config_opts['description'] = 'CentOS Stream 10 + EPEL' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) diff --git a/mock-core-configs/etc/mock/templates/epel-10.tpl b/mock-core-configs/etc/mock/templates/epel-10.tpl new file mode 100644 index 000000000..3a019ea37 --- /dev/null +++ b/mock-core-configs/etc/mock/templates/epel-10.tpl @@ -0,0 +1,11 @@ +config_opts['chroot_setup_cmd'] += " epel-rpm-macros" + +config_opts['dnf.conf'] += """ + +[local] +name=Extra Packages for Enterprise Linux $releasever - Koji Local - BUILDROOT ONLY! +baseurl=https://kojipkgs.fedoraproject.org/repos/epel10.0-build/latest/$basearch/ +cost=2000 +enabled=1 +skip_if_unavailable=False +""" diff --git a/releng/release-notes-next/c10s+epel.config b/releng/release-notes-next/c10s+epel.config new file mode 100644 index 000000000..f6c0424b9 --- /dev/null +++ b/releng/release-notes-next/c10s+epel.config @@ -0,0 +1,2 @@ +The "early" CentOS Stream 10 + EPEL 10 configuration files have been added, +[issue#1421][]. These chroots only work with Fedora EPEL Koji buildroots.