Skip to content

Commit

Permalink
Add CentOS Stream 10 + EPEL 10 configs
Browse files Browse the repository at this point in the history
These work with Koji EPEL buildroot only for now since there are no
composes, yet.

Fixes: #1421
  • Loading branch information
praiskup committed Aug 15, 2024
1 parent 0b0905c commit 3802ca3
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mock-core-configs/etc/mock/centos-stream+epel-10-aarch64.cfg
Original file line number Diff line number Diff line change
@@ -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',)
8 changes: 8 additions & 0 deletions mock-core-configs/etc/mock/centos-stream+epel-10-ppc64le.cfg
Original file line number Diff line number Diff line change
@@ -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',)
8 changes: 8 additions & 0 deletions mock-core-configs/etc/mock/centos-stream+epel-10-s390x.cfg
Original file line number Diff line number Diff line change
@@ -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',)
8 changes: 8 additions & 0 deletions mock-core-configs/etc/mock/centos-stream+epel-10-x86_64.cfg
Original file line number Diff line number Diff line change
@@ -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',)
11 changes: 11 additions & 0 deletions mock-core-configs/etc/mock/templates/epel-10.tpl
Original file line number Diff line number Diff line change
@@ -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
"""
2 changes: 2 additions & 0 deletions releng/release-notes-next/c10s+epel.config
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 3802ca3

Please sign in to comment.