From e449f9c8302502ae9db1ea8604b1ff7a02b98fe0 Mon Sep 17 00:00:00 2001 From: bms8197 Date: Sun, 8 Aug 2021 17:49:24 +0300 Subject: [PATCH] committing changes in /etc made by "-bash" Package changes: --- .etckeeper | 26 ++++ httpd/conf.d/perl.conf.rpmnew | 4 +- mock/almalinux-8-aarch64.cfg | 5 + mock/centos-stream-9-aarch64.cfg | 5 + mock/centos-stream-9-ppc64le.cfg | 5 + mock/centos-stream-9-s390x.cfg | 5 + mock/centos-stream-9-x86_64.cfg | 5 + mock/epel-next-8-aarch64.cfg | 7 + mock/epel-next-8-ppc64le.cfg | 7 + mock/epel-next-8-x86_64.cfg | 7 + mock/rocky-8-aarch64.cfg | 5 + mock/rocky-8-x86_64.cfg | 5 + mock/templates/almalinux-8.tpl | 27 ++++ mock/templates/centos-7.tpl | 2 +- mock/templates/centos-8.tpl | 2 +- mock/templates/centos-stream-8.tpl | 2 +- mock/templates/centos-stream-9.tpl | 49 +++++++ mock/templates/epel-next-8.tpl | 59 ++++++++ mock/templates/opensuse-leap-15.3.tpl | 2 +- mock/templates/rocky-8.tpl | 192 ++++++++++++++++++++++++++ 20 files changed, 414 insertions(+), 7 deletions(-) create mode 100644 mock/almalinux-8-aarch64.cfg create mode 100644 mock/centos-stream-9-aarch64.cfg create mode 100644 mock/centos-stream-9-ppc64le.cfg create mode 100644 mock/centos-stream-9-s390x.cfg create mode 100644 mock/centos-stream-9-x86_64.cfg create mode 100644 mock/epel-next-8-aarch64.cfg create mode 100644 mock/epel-next-8-ppc64le.cfg create mode 100644 mock/epel-next-8-x86_64.cfg create mode 100644 mock/rocky-8-aarch64.cfg create mode 100644 mock/rocky-8-x86_64.cfg create mode 100644 mock/templates/centos-stream-9.tpl create mode 100644 mock/templates/epel-next-8.tpl create mode 100644 mock/templates/rocky-8.tpl diff --git a/.etckeeper b/.etckeeper index 5b436a1..c2d191f 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2714,6 +2714,8 @@ maybe chmod 0644 'mc/sfs.ini' maybe chmod 0644 'mime.types' maybe chmod 0644 'mke2fs.conf' maybe chmod 0755 'mock' +maybe chgrp 'mock' 'mock/almalinux-8-aarch64.cfg' +maybe chmod 0644 'mock/almalinux-8-aarch64.cfg' maybe chgrp 'mock' 'mock/almalinux-8-x86_64.cfg' maybe chmod 0644 'mock/almalinux-8-x86_64.cfg' maybe chgrp 'mock' 'mock/amazonlinux-2-aarch64.cfg' @@ -2740,6 +2742,14 @@ maybe chgrp 'mock' 'mock/centos-stream-8-ppc64le.cfg' maybe chmod 0644 'mock/centos-stream-8-ppc64le.cfg' maybe chgrp 'mock' 'mock/centos-stream-8-x86_64.cfg' maybe chmod 0644 'mock/centos-stream-8-x86_64.cfg' +maybe chgrp 'mock' 'mock/centos-stream-9-aarch64.cfg' +maybe chmod 0644 'mock/centos-stream-9-aarch64.cfg' +maybe chgrp 'mock' 'mock/centos-stream-9-ppc64le.cfg' +maybe chmod 0644 'mock/centos-stream-9-ppc64le.cfg' +maybe chgrp 'mock' 'mock/centos-stream-9-s390x.cfg' +maybe chmod 0644 'mock/centos-stream-9-s390x.cfg' +maybe chgrp 'mock' 'mock/centos-stream-9-x86_64.cfg' +maybe chmod 0644 'mock/centos-stream-9-x86_64.cfg' maybe chgrp 'mock' 'mock/custom-1-aarch64.cfg' maybe chmod 0644 'mock/custom-1-aarch64.cfg' maybe chgrp 'mock' 'mock/custom-1-armhfp.cfg' @@ -2928,6 +2938,12 @@ maybe chgrp 'mock' 'mock/epel-8-ppc64le.cfg' maybe chmod 0644 'mock/epel-8-ppc64le.cfg' maybe chgrp 'mock' 'mock/epel-8-x86_64.cfg' maybe chmod 0644 'mock/epel-8-x86_64.cfg' +maybe chgrp 'mock' 'mock/epel-next-8-aarch64.cfg' +maybe chmod 0644 'mock/epel-next-8-aarch64.cfg' +maybe chgrp 'mock' 'mock/epel-next-8-ppc64le.cfg' +maybe chmod 0644 'mock/epel-next-8-ppc64le.cfg' +maybe chgrp 'mock' 'mock/epel-next-8-x86_64.cfg' +maybe chmod 0644 'mock/epel-next-8-x86_64.cfg' maybe chgrp 'mock' 'mock/epelplayground-8-aarch64.cfg' maybe chmod 0644 'mock/epelplayground-8-aarch64.cfg' maybe chgrp 'mock' 'mock/epelplayground-8-ppc64le.cfg' @@ -3087,6 +3103,10 @@ maybe chgrp 'mock' 'mock/rhelepel-8-ppc64le.cfg' maybe chmod 0644 'mock/rhelepel-8-ppc64le.cfg' maybe chgrp 'mock' 'mock/rhelepel-8-x86_64.cfg' maybe chmod 0644 'mock/rhelepel-8-x86_64.cfg' +maybe chgrp 'mock' 'mock/rocky-8-aarch64.cfg' +maybe chmod 0644 'mock/rocky-8-aarch64.cfg' +maybe chgrp 'mock' 'mock/rocky-8-x86_64.cfg' +maybe chmod 0644 'mock/rocky-8-x86_64.cfg' maybe chgrp 'mock' 'mock/site-defaults.cfg' maybe chmod 0644 'mock/site-defaults.cfg' maybe chmod 0755 'mock/templates' @@ -3100,12 +3120,16 @@ maybe chgrp 'mock' 'mock/templates/centos-8.tpl' maybe chmod 0644 'mock/templates/centos-8.tpl' maybe chgrp 'mock' 'mock/templates/centos-stream-8.tpl' maybe chmod 0644 'mock/templates/centos-stream-8.tpl' +maybe chgrp 'mock' 'mock/templates/centos-stream-9.tpl' +maybe chmod 0644 'mock/templates/centos-stream-9.tpl' maybe chgrp 'mock' 'mock/templates/custom-1.tpl' maybe chmod 0644 'mock/templates/custom-1.tpl' maybe chgrp 'mock' 'mock/templates/epel-7.tpl' maybe chmod 0644 'mock/templates/epel-7.tpl' maybe chgrp 'mock' 'mock/templates/epel-8.tpl' maybe chmod 0644 'mock/templates/epel-8.tpl' +maybe chgrp 'mock' 'mock/templates/epel-next-8.tpl' +maybe chmod 0644 'mock/templates/epel-next-8.tpl' maybe chgrp 'mock' 'mock/templates/epelplayground-8.tpl' maybe chmod 0644 'mock/templates/epelplayground-8.tpl' maybe chgrp 'mock' 'mock/templates/fedora-branched.tpl' @@ -3138,6 +3162,8 @@ maybe chgrp 'mock' 'mock/templates/rhel-7.tpl' maybe chmod 0644 'mock/templates/rhel-7.tpl' maybe chgrp 'mock' 'mock/templates/rhel-8.tpl' maybe chmod 0644 'mock/templates/rhel-8.tpl' +maybe chgrp 'mock' 'mock/templates/rocky-8.tpl' +maybe chmod 0644 'mock/templates/rocky-8.tpl' maybe chmod 0755 'modprobe.d' maybe chmod 0644 'modprobe.d/blacklist-firewire.conf' maybe chmod 0640 'modprobe.d/cramfs.conf' diff --git a/httpd/conf.d/perl.conf.rpmnew b/httpd/conf.d/perl.conf.rpmnew index 30d5d16..f22d7c8 100644 --- a/httpd/conf.d/perl.conf.rpmnew +++ b/httpd/conf.d/perl.conf.rpmnew @@ -42,7 +42,5 @@ # # SetHandler perl-script # PerlResponseHandler Apache2::Status -# Order deny,allow -# Deny from all -# Allow from .example.com +# Require host .example.com # diff --git a/mock/almalinux-8-aarch64.cfg b/mock/almalinux-8-aarch64.cfg new file mode 100644 index 0000000..09aa94f --- /dev/null +++ b/mock/almalinux-8-aarch64.cfg @@ -0,0 +1,5 @@ +include('templates/almalinux-8.tpl') + +config_opts['root'] = 'almalinux-8-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) diff --git a/mock/centos-stream-9-aarch64.cfg b/mock/centos-stream-9-aarch64.cfg new file mode 100644 index 0000000..fc5121b --- /dev/null +++ b/mock/centos-stream-9-aarch64.cfg @@ -0,0 +1,5 @@ +include('templates/centos-stream-9.tpl') + +config_opts['root'] = 'centos-stream-9-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) diff --git a/mock/centos-stream-9-ppc64le.cfg b/mock/centos-stream-9-ppc64le.cfg new file mode 100644 index 0000000..7464843 --- /dev/null +++ b/mock/centos-stream-9-ppc64le.cfg @@ -0,0 +1,5 @@ +include('templates/centos-stream-9.tpl') + +config_opts['root'] = 'centos-stream-9-ppc64le' +config_opts['target_arch'] = 'ppc64le' +config_opts['legal_host_arches'] = ('ppc64le',) diff --git a/mock/centos-stream-9-s390x.cfg b/mock/centos-stream-9-s390x.cfg new file mode 100644 index 0000000..21ca5c2 --- /dev/null +++ b/mock/centos-stream-9-s390x.cfg @@ -0,0 +1,5 @@ +include('templates/centos-stream-9.tpl') + +config_opts['root'] = 'centos-stream-9-s390x' +config_opts['target_arch'] = 's390x' +config_opts['legal_host_arches'] = ('s390x',) diff --git a/mock/centos-stream-9-x86_64.cfg b/mock/centos-stream-9-x86_64.cfg new file mode 100644 index 0000000..9c0206b --- /dev/null +++ b/mock/centos-stream-9-x86_64.cfg @@ -0,0 +1,5 @@ +include('templates/centos-stream-9.tpl') + +config_opts['root'] = 'centos-stream-9-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) diff --git a/mock/epel-next-8-aarch64.cfg b/mock/epel-next-8-aarch64.cfg new file mode 100644 index 0000000..93f1ca7 --- /dev/null +++ b/mock/epel-next-8-aarch64.cfg @@ -0,0 +1,7 @@ +include('templates/centos-stream-8.tpl') +include('templates/epel-8.tpl') +include('templates/epel-next-8.tpl') + +config_opts['root'] = 'epel-next-8-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) diff --git a/mock/epel-next-8-ppc64le.cfg b/mock/epel-next-8-ppc64le.cfg new file mode 100644 index 0000000..dc48fbc --- /dev/null +++ b/mock/epel-next-8-ppc64le.cfg @@ -0,0 +1,7 @@ +include('templates/centos-stream-8.tpl') +include('templates/epel-8.tpl') +include('templates/epel-next-8.tpl') + +config_opts['root'] = 'epel-next-8-ppc64le' +config_opts['target_arch'] = 'ppc64le' +config_opts['legal_host_arches'] = ('ppc64le',) diff --git a/mock/epel-next-8-x86_64.cfg b/mock/epel-next-8-x86_64.cfg new file mode 100644 index 0000000..5e4c3d7 --- /dev/null +++ b/mock/epel-next-8-x86_64.cfg @@ -0,0 +1,7 @@ +include('templates/centos-stream-8.tpl') +include('templates/epel-8.tpl') +include('templates/epel-next-8.tpl') + +config_opts['root'] = 'epel-next-8-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) diff --git a/mock/rocky-8-aarch64.cfg b/mock/rocky-8-aarch64.cfg new file mode 100644 index 0000000..ffbd9f5 --- /dev/null +++ b/mock/rocky-8-aarch64.cfg @@ -0,0 +1,5 @@ +include('templates/rocky-8.tpl') + +config_opts['root'] = 'rocky-8-aarch64' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) diff --git a/mock/rocky-8-x86_64.cfg b/mock/rocky-8-x86_64.cfg new file mode 100644 index 0000000..a3a59fa --- /dev/null +++ b/mock/rocky-8-x86_64.cfg @@ -0,0 +1,5 @@ +include('templates/rocky-8.tpl') + +config_opts['root'] = 'rocky-8-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) diff --git a/mock/templates/almalinux-8.tpl b/mock/templates/almalinux-8.tpl index ee58bb7..e03d908 100644 --- a/mock/templates/almalinux-8.tpl +++ b/mock/templates/almalinux-8.tpl @@ -63,6 +63,15 @@ gpgcheck=1 gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux 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 +fastestmirror=1 + [baseos-debuginfo] name=AlmaLinux $releasever - BaseOS debuginfo mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-debuginfo @@ -99,6 +108,15 @@ gpgcheck=1 gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux 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 +fastestmirror=1 + [baseos-source] name=AlmaLinux $releasever - BaseOS Source mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-source @@ -135,4 +153,13 @@ gpgcheck=1 gpgkey=file:///usr/share/distribution-gpg-keys/alma/RPM-GPG-KEY-AlmaLinux 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 +fastestmirror=1 + """ diff --git a/mock/templates/centos-7.tpl b/mock/templates/centos-7.tpl index 6c126b1..a6edb5d 100644 --- a/mock/templates/centos-7.tpl +++ b/mock/templates/centos-7.tpl @@ -4,7 +4,7 @@ config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils f config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['releasever'] = '7' -config_opts['bootstrap_image'] = 'registry.centos.org/centos:7' +config_opts['bootstrap_image'] = 'quay.io/centos/centos:7' config_opts['package_manager'] = 'yum' config_opts['yum_install_command'] += "{% if target_arch in ['x86_64', 'ppc64le', 'aarch64'] %} --disablerepo=centos-sclo*{% endif %}" diff --git a/mock/templates/centos-8.tpl b/mock/templates/centos-8.tpl index bae6190..40b262d 100644 --- a/mock/templates/centos-8.tpl +++ b/mock/templates/centos-8.tpl @@ -3,7 +3,7 @@ config_opts['dist'] = 'el8' # only useful for --resultdir variable subst config_opts['releasever'] = '8' config_opts['package_manager'] = 'dnf' config_opts['extra_chroot_dirs'] = [ '/run/lock', ] -config_opts['bootstrap_image'] = 'registry.centos.org/centos:8' +config_opts['bootstrap_image'] = 'quay.io/centos/centos:8' config_opts['dnf.conf'] = """ diff --git a/mock/templates/centos-stream-8.tpl b/mock/templates/centos-stream-8.tpl index 5dd440b..fa9c5d2 100644 --- a/mock/templates/centos-stream-8.tpl +++ b/mock/templates/centos-stream-8.tpl @@ -3,7 +3,7 @@ config_opts['dist'] = 'el8' # only useful for --resultdir variable subst config_opts['releasever'] = '8' config_opts['package_manager'] = 'dnf' config_opts['extra_chroot_dirs'] = [ '/run/lock', ] -config_opts['bootstrap_image'] = 'registry.centos.org/centos:8' +config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream8' config_opts['dnf_vars'] = { 'stream': '8-stream', 'contentdir': 'centos', } diff --git a/mock/templates/centos-stream-9.tpl b/mock/templates/centos-stream-9.tpl new file mode 100644 index 0000000..1c453c4 --- /dev/null +++ b/mock/templates/centos-stream-9.tpl @@ -0,0 +1,49 @@ +config_opts['chroot_setup_cmd'] = 'install tar gcc-c++ redhat-rpm-config redhat-release which xz sed make bzip2 gzip gcc coreutils unzip shadow-utils diffutils cpio bash gawk rpm-build info patch util-linux findutils grep' +config_opts['dist'] = 'el9' # only useful for --resultdir variable subst +config_opts['releasever'] = '9' +config_opts['package_manager'] = 'dnf' +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] + +# TODO: flip to 'stream9' tag once available +config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream9-development' + +config_opts['dnf.conf'] = """ +[main] +keepcache=1 +debuglevel=2 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=1 +assumeyes=1 +syslog_ident=mock +syslog_device= +mdpolicy=group:primary +best=1 +protected_packages= +module_platform_id=platform:el9 +user_agent={{ user_agent }} + +[baseos-pre-release] +name=CentOS Stream $releasever - BaseOS (pre-release) +baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/BaseOS/$basearch/os/ +failovermethod=priority +#gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official +gpgcheck=0 +skip_if_unavailable=False + +[appstream-pre-release] +name=CentOS Stream $releasever - AppStream (pre-release) +baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/AppStream/$basearch/os/ +enabled=1 +#gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official +gpgcheck=0 + +[crb-pre-release] +name=CentOS Stream $releasever - CRB (pre-release) +baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/CRB/$basearch/os/ +enabled=1 +#gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official +gpgcheck=0 +""" diff --git a/mock/templates/epel-next-8.tpl b/mock/templates/epel-next-8.tpl new file mode 100644 index 0000000..b789472 --- /dev/null +++ b/mock/templates/epel-next-8.tpl @@ -0,0 +1,59 @@ +config_opts['chroot_setup_cmd'] += " epel-next-release" + +config_opts['dnf.conf'] += """ + +[epel-next] +name=Extra Packages for Enterprise Linux $releasever - Next - $basearch +metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-$releasever&arch=$basearch +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 +gpgcheck=1 +skip_if_unavailable=False + +[epel-next-debuginfo] +name=Extra Packages for Enterprise Linux $releasever - Next - $basearch - Debug +metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-debug-$releasever&arch=$basearch +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 +gpgcheck=1 +skip_if_unavailable=False + +[epel-next-source] +name=Extra Packages for Enterprise Linux $releasever - Next - $basearch - Source +metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-source-$releasever&arch=$basearch +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 +gpgcheck=1 +skip_if_unavailable=False + +[epel-next-testing] +name=Extra Packages for Enterprise Linux $releasever - Next - Testing - $basearch +metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-$releasever&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 +skip_if_unavailable=False + +[epel-next-testing-debuginfo] +name=Extra Packages for Enterprise Linux $releasever - Next - Testing - $basearch - Debug +metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-debug-$releasever&arch=$basearch +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 +gpgcheck=1 +skip_if_unavailable=False + +[epel-next-testing-source] +name=Extra Packages for Enterprise Linux $releasever - Next - Testing - $basearch - Source +metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-source-$releasever&arch=$basearch +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-8 +gpgcheck=1 +skip_if_unavailable=False + +[local] +name=local +baseurl=https://kojipkgs.fedoraproject.org/repos/epel8-next-build/latest/$basearch/ +cost=2000 +enabled=0 +skip_if_unavailable=False +""" diff --git a/mock/templates/opensuse-leap-15.3.tpl b/mock/templates/opensuse-leap-15.3.tpl index 14ff3e9..9172c39 100644 --- a/mock/templates/opensuse-leap-15.3.tpl +++ b/mock/templates/opensuse-leap-15.3.tpl @@ -70,7 +70,7 @@ name=openSUSE Leap $releasever - {{ target_arch }} - Updates from SUSE Linux Ent baseurl=http://download.opensuse.org/update/leap/$releasever/sle/ #metalink=http://download.opensuse.org/update/leap/$releasever/sle/repodata/repomd.xml.metalink enabled=1 -gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-SuSE-SLE-15 +gpgkey=file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-15 gpgcheck=1 [opensuse-leap-sle-backports-update] diff --git a/mock/templates/rocky-8.tpl b/mock/templates/rocky-8.tpl new file mode 100644 index 0000000..e0e0cda --- /dev/null +++ b/mock/templates/rocky-8.tpl @@ -0,0 +1,192 @@ +config_opts['chroot_setup_cmd'] = 'install tar gcc-c++ redhat-rpm-config redhat-release which xz sed make bzip2 gzip gcc coreutils unzip shadow-utils diffutils cpio bash gawk rpm-build info patch util-linux findutils grep' +config_opts['dist'] = 'el8' # only useful for --resultdir variable subst +config_opts['releasever'] = '8' +config_opts['package_manager'] = 'dnf' +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['bootstrap_image'] = 'quay.io/rockylinux/rockylinux:8' + + +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 +protected_packages= +module_platform_id=platform:el8 +user_agent={{ user_agent }} + +# Primary +[baseos] +name=Rocky Linux $releasever - BaseOS +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/$basearch/os/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[appstream] +name=Rocky Linux $releasever - AppStream +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/AppStream/$basearch/os/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[powertools] +name=Rocky Linux $releasever - PowerTools +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=PowerTools-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/PowerTools/$basearch/os/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[extras] +name=Rocky Linux $releasever - Extras +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/extras/$basearch/os/ +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[ha] +name=Rocky Linux $releasever - HighAvailability +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/HighAvailability/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[resilient-storage] +name=Rocky Linux $releasever - ResilientStorage +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=ResilientStorage-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/ResilientStorage/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[plus] +name=Rocky Linux $releasever - Plus +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=rockyplus-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/plus/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[devel] +name=Rocky Linux $releasever - Devel WARNING! FOR BUILDROOT AND KOJI USE +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=Devel-$releasever +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/Devel/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +# Debuginfo +[baseos-debug] +name=Rocky Linux $releasever - BaseOS - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever-debug +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[appstream-debug] +name=Rocky Linux $releasever - AppStream - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever-debug +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/AppStream/$basearch/os/ +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[ha-debug] +name=Rocky Linux $releasever - High Availability - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=HighAvailability-$releasever-debug +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/HighAvailability/$basearch/debug/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[powertools-debug] +name=Rocky Linux $releasever - PowerTools - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=PowerTools-$releasever-debug +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/PowerTools/$basearch/debug/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[resilient-storage-debug] +name=Rocky Linux $releasever - Resilient Storage - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=ResilientStorage-$releasever-debug +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/ResilientStorage/$basearch/debug/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[devel-debug] +name=Rocky Linux $releasever - Devel WARNING! FOR BUILDROOT AND KOJI USE +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=Devel-$releasever-debug +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/Devel/$basearch/debug/tree +gpgcheck=1 +enabled=1 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +# Source Repos +[baseos-source] +name=Rocky Linux $releasever - BaseOS - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=BaseOS-$releasever-source +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/source/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[appstream-source] +name=Rocky Linux $releasever - AppStream - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=AppStream-$releasever-source +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/AppStream/source/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[ha-source] +name=Rocky Linux $releasever - High Availability - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=HighAvailability-$releasever-source +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/HighAvailability/source/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[powertools-source] +name=Rocky Linux $releasever - PowerTools - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=PowerTools-$releasever-source +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/PowerTools/source/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[resilient-storage-source] +name=Rocky Linux $releasever - Resilient Storage - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=ResilientStorage-$releasever-source +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/ResilientStorage/source/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + +[devel-source] +name=Rocky Linux $releasever - Devel - Source +mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=Devel-$releasever-source +#baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/Devel/source/tree +gpgcheck=1 +enabled=0 +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-rockyofficial + + +"""