-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: Add AlmaLinux 9 and AlmaLinux 9 + EPEL configs
This offers an equivalent alternative to RHEL for building packages targeted to RHEL.
- Loading branch information
1 parent
b21f3e4
commit a83dcdd
Showing
10 changed files
with
217 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include('almalinux-9-aarch64.cfg') | ||
include('templates/epel-9.tpl') | ||
|
||
config_opts['root'] = "alma+epel-9-{{ target_arch }}" | ||
config_opts['description'] = 'AlmaLinux 9 + EPEL' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include('almalinux-9-ppc64le.cfg') | ||
include('templates/epel-9.tpl') | ||
|
||
config_opts['root'] = "alma+epel-9-{{ target_arch }}" | ||
config_opts['description'] = 'AlmaLinux 9 + EPEL' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include('almalinux-9-s390x.cfg') | ||
include('templates/epel-9.tpl') | ||
|
||
config_opts['root'] = "alma+epel-9-{{ target_arch }}" | ||
config_opts['description'] = 'AlmaLinux 9 + EPEL' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include('almalinux-9-x86_64.cfg') | ||
include('templates/epel-9.tpl') | ||
|
||
config_opts['root'] = "alma+epel-9-{{ target_arch }}" | ||
config_opts['description'] = 'AlmaLinux 9 + EPEL' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include('templates/almalinux-9.tpl') | ||
|
||
config_opts['root'] = 'almalinux-9-aarch64' | ||
config_opts['description'] = 'AlmaLinux 9' | ||
config_opts['target_arch'] = 'aarch64' | ||
config_opts['legal_host_arches'] = ('aarch64',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include('templates/almalinux-9.tpl') | ||
|
||
config_opts['root'] = 'almalinux-9-ppc64le' | ||
config_opts['description'] = 'AlmaLinux 9' | ||
config_opts['target_arch'] = 'ppc64le' | ||
config_opts['legal_host_arches'] = ('ppc64le',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include('templates/almalinux-9.tpl') | ||
|
||
config_opts['root'] = 'almalinux-9-s390x' | ||
config_opts['description'] = 'AlmaLinux 9' | ||
config_opts['target_arch'] = 's390x' | ||
config_opts['legal_host_arches'] = ('s390x',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include('templates/almalinux-9.tpl') | ||
|
||
config_opts['root'] = 'almalinux-9-x86_64' | ||
config_opts['description'] = 'AlmaLinux 9' | ||
config_opts['target_arch'] = 'x86_64' | ||
config_opts['legal_host_arches'] = ('x86_64',) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk glibc-minimal-langpack grep gzip info patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz' | ||
config_opts['dist'] = 'el9.alma' # only useful for --resultdir variable subst | ||
config_opts['releasever'] = '9' | ||
config_opts['package_manager'] = 'dnf' | ||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ] | ||
config_opts['bootstrap_image'] = 'quay.io/almalinux/almalinux:9' | ||
|
||
|
||
config_opts['dnf.conf'] = """ | ||
[main] | ||
keepcache=1 | ||
debuglevel=2 | ||
reposdir=/dev/null | ||
logfile=/var/log/yum.log | ||
retries=20 | ||
obsoletes=1 | ||
gpgcheck=0 | ||
assumeyes=1 | ||
syslog_ident=mock | ||
syslog_device= | ||
metadata_expire=0 | ||
mdpolicy=group:primary | ||
best=1 | ||
install_weak_deps=0 | ||
protected_packages= | ||
module_platform_id=platform:el9 | ||
user_agent={{ user_agent }} | ||
|
||
|
||
[baseos] | ||
name=AlmaLinux $releasever - BaseOS | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
skip_if_unavailable=False | ||
|
||
[appstream] | ||
name=AlmaLinux $releasever - AppStream | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/$basearch/os/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[crb] | ||
name=AlmaLinux $releasever - CRB | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/crb | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/CRB/$basearch/os/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[extras] | ||
name=AlmaLinux $releasever - Extras | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/$basearch/os/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[devel] | ||
name=AlmaLinux $releasever - Devel (WARNING: UNSUPPORTED - FOR BUILDROOT USE ONLY!) | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/devel | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/devel/$basearch/os/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[baseos-debuginfo] | ||
name=AlmaLinux $releasever - BaseOS debuginfo | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-debuginfo | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/debug/$basearch/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[appstream-debuginfo] | ||
name=AlmaLinux $releasever - AppStream debuginfo | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream-debuginfo | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/debug/$basearch/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[crb-debuginfo] | ||
name=AlmaLinux $releasever - CRB debuginfo | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/crb-debuginfo | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/CRB/debug/$basearch/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[extras-debuginfo] | ||
name=AlmaLinux $releasever - Extras debuginfo | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras-debuginfo | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/debug/$basearch/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[devel-debuginfo] | ||
name=AlmaLinux $releasever - Devel debuginfo | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/devel-debuginfo | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/devel/debug/$basearch/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[baseos-source] | ||
name=AlmaLinux $releasever - BaseOS Source | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-source | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/Source/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[appstream-source] | ||
name=AlmaLinux $releasever - AppStream Source | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream-source | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/Source/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[crb-source] | ||
name=AlmaLinux $releasever - CRB Source | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/crb-source | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/CRB/Source/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[extras-source] | ||
name=AlmaLinux $releasever - Extras Source | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras-source | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/Source/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
[devel-source] | ||
name=AlmaLinux $releasever - Devel Source | ||
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/devel-source | ||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/devel/Source/ | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux-9 | ||
fastestmirror=1 | ||
|
||
""" |