config_opts['root'] = 'rl-9.3-aarch64' config_opts['target_arch'] = 'aarch64' config_opts['legal_host_arches'] = ('aarch64',) config_opts['releasever'] = '9.3' config_opts['description'] = 'Rocky Linux 9.3' config_opts['use_bootstrap_image'] = False config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild' config_opts['package_manager'] = 'dnf' config_opts['dist'] = 'el9' # Applicable Macros config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu' config_opts['macros']['%_host_cpu'] = 'aarch64' config_opts['macros']['%_vendor'] = "redhat" config_opts['macros']['%_vendor_host'] = "redhat" # These are typically set from rocky-release and may not have an effect config_opts['macros']['%__bootstrap'] = '~bootstrap' config_opts['macros']['%distribution'] = 'Rocky Linux 9.3' config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}' config_opts['macros']['%rhel'] = '9' # To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup' config_opts['chroot_setup_cmd'] = 'install bash glibc-minimal-langpack gnupg2 rpm-build shadow-utils system-release redhat-rpm-config' 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=Rocky Linux $releasever - BaseOS baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/BaseOS/$basearch/os/ gpgcheck=1 enabled=1 metadata_expire=6h gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9 [appstream] name=Rocky Linux $releasever - AppStream baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/AppStream/$basearch/os/ gpgcheck=1 enabled=1 metadata_expire=6h gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9 [crb] name=Rocky Linux $releasever - CRB baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/CRB/$basearch/os/ gpgcheck=1 enabled=1 metadata_expire=6h gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9 [extras] name=Rocky Linux $releasever - Extras baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/extras/$basearch/os/ gpgcheck=1 enabled=1 metadata_expire=6h gpgkey=https://git.rockylinux.org/staging/src/rocky-release/-/raw/r9/SOURCES/RPM-GPG-KEY-Rocky-9 """