From 5eee8d4c76171a3faae40ecfca5f7b0dd8c86592 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Wed, 17 Jan 2024 15:36:27 -0700 Subject: [PATCH] separate mock configs by arch --- mangle/mock/rl8/rl8.10-aarch64.cfg | 42 +++++++++++++++++++ mangle/mock/rl8/rl8.10-i686.cfg | 42 +++++++++++++++++++ mangle/mock/rl8/rl8.10-x86_64.cfg | 42 +++++++++++++++++++ mangle/mock/{ => rl9}/rl9.2.cfg | 0 mangle/mock/rl9/rl9.3-aarch64.cfg | 42 +++++++++++++++++++ mangle/mock/rl9/rl9.3-i686.cfg | 42 +++++++++++++++++++ mangle/mock/rl9/rl9.3-ppc64le.cfg | 42 +++++++++++++++++++ mangle/mock/rl9/rl9.3-s390x.cfg | 42 +++++++++++++++++++ .../mock/{rl9.3.cfg => rl9/rl9.3-x86_64.cfg} | 0 9 files changed, 294 insertions(+) create mode 100644 mangle/mock/rl8/rl8.10-aarch64.cfg create mode 100644 mangle/mock/rl8/rl8.10-i686.cfg create mode 100644 mangle/mock/rl8/rl8.10-x86_64.cfg rename mangle/mock/{ => rl9}/rl9.2.cfg (100%) create mode 100644 mangle/mock/rl9/rl9.3-aarch64.cfg create mode 100644 mangle/mock/rl9/rl9.3-i686.cfg create mode 100644 mangle/mock/rl9/rl9.3-ppc64le.cfg create mode 100644 mangle/mock/rl9/rl9.3-s390x.cfg rename mangle/mock/{rl9.3.cfg => rl9/rl9.3-x86_64.cfg} (100%) diff --git a/mangle/mock/rl8/rl8.10-aarch64.cfg b/mangle/mock/rl8/rl8.10-aarch64.cfg new file mode 100644 index 0000000..7ba67cd --- /dev/null +++ b/mangle/mock/rl8/rl8.10-aarch64.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-8.10-aarch64' +config_opts['description'] = 'Rocky Linux 8.10' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) +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 tar unzip util-linux which xz' +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['use_bootstrap_image'] = False + + +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:el8 +user_agent={{ user_agent }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://kojidev.rockylinux.org/kojifiles/repos/dist-rocky8-lookahead-build/latest/aarch64 +gpgcheck=0 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 + +""" diff --git a/mangle/mock/rl8/rl8.10-i686.cfg b/mangle/mock/rl8/rl8.10-i686.cfg new file mode 100644 index 0000000..58aacb4 --- /dev/null +++ b/mangle/mock/rl8/rl8.10-i686.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-8.10-i686' +config_opts['description'] = 'Rocky Linux 8.10' +config_opts['target_arch'] = 'i686' +config_opts['legal_host_arches'] = ('i686', 'x86_64',) +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 tar unzip util-linux which xz' +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['use_bootstrap_image'] = False + + +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:el8 +user_agent={{ user_agent }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://kojidev.rockylinux.org/kojifiles/repos/dist-rocky8-lookahead-build/latest/i386 +gpgcheck=0 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 + +""" diff --git a/mangle/mock/rl8/rl8.10-x86_64.cfg b/mangle/mock/rl8/rl8.10-x86_64.cfg new file mode 100644 index 0000000..31bf43f --- /dev/null +++ b/mangle/mock/rl8/rl8.10-x86_64.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-8.10-x86_64' +config_opts['description'] = 'Rocky Linux 8.10' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) +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 tar unzip util-linux which xz' +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['use_bootstrap_image'] = False + + +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:el8 +user_agent={{ user_agent }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://kojidev.rockylinux.org/kojifiles/repos/dist-rocky8-lookahead-build/latest/x86_64 +gpgcheck=0 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-8 + +""" diff --git a/mangle/mock/rl9.2.cfg b/mangle/mock/rl9/rl9.2.cfg similarity index 100% rename from mangle/mock/rl9.2.cfg rename to mangle/mock/rl9/rl9.2.cfg diff --git a/mangle/mock/rl9/rl9.3-aarch64.cfg b/mangle/mock/rl9/rl9.3-aarch64.cfg new file mode 100644 index 0000000..33ff417 --- /dev/null +++ b/mangle/mock/rl9/rl9.3-aarch64.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-9.3-aarch64' +config_opts['description'] = 'Rocky Linux 9.3' +config_opts['target_arch'] = 'aarch64' +config_opts['legal_host_arches'] = ('aarch64',) +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 tar unzip util-linux which xz' +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', ] +config_opts['use_bootstrap_image'] = False + + +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 }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://yumrepofs.build.resf.org/v1/projects/6202c09e-6252-4d3a-bcd3-9c7751682970/repo/all/$basearch/ +gpgcheck=1 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 + +""" diff --git a/mangle/mock/rl9/rl9.3-i686.cfg b/mangle/mock/rl9/rl9.3-i686.cfg new file mode 100644 index 0000000..50e859c --- /dev/null +++ b/mangle/mock/rl9/rl9.3-i686.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-9.3-i686' +config_opts['description'] = 'Rocky Linux 9.3' +config_opts['target_arch'] = 'i686' +config_opts['legal_host_arches'] = ('i686', 'x86_64',) +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 tar unzip util-linux which xz' +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', ] +config_opts['use_bootstrap_image'] = False + + +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 }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://yumrepofs.build.resf.org/v1/projects/6202c09e-6252-4d3a-bcd3-9c7751682970/repo/all/$basearch/ +gpgcheck=1 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 + +""" diff --git a/mangle/mock/rl9/rl9.3-ppc64le.cfg b/mangle/mock/rl9/rl9.3-ppc64le.cfg new file mode 100644 index 0000000..078a98f --- /dev/null +++ b/mangle/mock/rl9/rl9.3-ppc64le.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-9.3-ppc64le' +config_opts['description'] = 'Rocky Linux 9.3' +config_opts['target_arch'] = 'ppc64le' +config_opts['legal_host_arches'] = ('ppc64le',) +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 tar unzip util-linux which xz' +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', ] +config_opts['use_bootstrap_image'] = False + + +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 }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://yumrepofs.build.resf.org/v1/projects/6202c09e-6252-4d3a-bcd3-9c7751682970/repo/all/$basearch/ +gpgcheck=1 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 + +""" diff --git a/mangle/mock/rl9/rl9.3-s390x.cfg b/mangle/mock/rl9/rl9.3-s390x.cfg new file mode 100644 index 0000000..b3d3d5c --- /dev/null +++ b/mangle/mock/rl9/rl9.3-s390x.cfg @@ -0,0 +1,42 @@ +config_opts['root'] = 'rocky-9.3-s390x' +config_opts['description'] = 'Rocky Linux 9.3' +config_opts['target_arch'] = 's390x' +config_opts['legal_host_arches'] = ('s390x',) +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 tar unzip util-linux which xz' +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', ] +config_opts['use_bootstrap_image'] = False + + +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 }} + + +[all] +name=Rocky Linux $releasever - All +baseurl=https://yumrepofs.build.resf.org/v1/projects/6202c09e-6252-4d3a-bcd3-9c7751682970/repo/all/$basearch/ +gpgcheck=1 +enabled=1 +metadata_expire=6h +gpgkey=file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-9 + +""" diff --git a/mangle/mock/rl9.3.cfg b/mangle/mock/rl9/rl9.3-x86_64.cfg similarity index 100% rename from mangle/mock/rl9.3.cfg rename to mangle/mock/rl9/rl9.3-x86_64.cfg