3164410be5
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
98 lines
2.8 KiB
INI
98 lines
2.8 KiB
INI
config_opts['root'] = 'el9-x86_64'
|
|
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 shadow-utils tar unzip util-linux which xz'
|
|
config_opts['dist'] = 'el9' # only useful for --resultdir variable subst
|
|
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
|
config_opts['releasever'] = '9'
|
|
config_opts['package_manager'] = 'dnf'
|
|
config_opts['bootstrap_image'] = 'quay.io/rockylinux/rockylinux:9'
|
|
config_opts['rpmbuild_networking'] = True
|
|
config_opts['use_host_resolv'] = True
|
|
|
|
|
|
|
|
|
|
|
|
config_opts['yum.conf'] = """
|
|
[main]
|
|
keepcache=1
|
|
debuglevel=2
|
|
reposdir=/dev/null
|
|
logfile=/var/log/yum.log
|
|
retries=20
|
|
obsoletes=1
|
|
gpgcheck=0
|
|
assumeyes=1
|
|
install_weak_deps=0
|
|
syslog_ident=mock
|
|
syslog_device=
|
|
mdpolicy=group:primary
|
|
best=1
|
|
metadata_expire=0
|
|
module_platform_id=platform:el9
|
|
|
|
# repos
|
|
[baseos]
|
|
name=Rocky Linux $releasever - BaseOS
|
|
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever
|
|
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/
|
|
gpgcheck=0
|
|
enabled=1
|
|
countme=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
|
|
|
|
|
[appstream]
|
|
name=Rocky Linux $releasever - AppStream
|
|
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever
|
|
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/
|
|
gpgcheck=0
|
|
enabled=1
|
|
countme=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
|
|
|
[extras]
|
|
name=Rocky Linux $releasever - Extras
|
|
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-$releasever
|
|
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/extras/$basearch/os/
|
|
gpgcheck=0
|
|
enabled=1
|
|
countme=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
|
|
|
|
|
[epel]
|
|
name=Extra Packages for Enterprise Linux $releasever - $basearch
|
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
# place its address here.
|
|
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch/
|
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch
|
|
enabled=1
|
|
gpgcheck=0
|
|
countme=1
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
|
|
|
|
|
|
[crb]
|
|
name=Rocky Linux $releasever - CRB
|
|
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=CRB-$releasever
|
|
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/CRB/$basearch/os/
|
|
gpgcheck=0
|
|
enabled=1
|
|
countme=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
|
|
|
#[go-repo]
|
|
#name=go-repo - CentOS
|
|
#baseurl=https://mirror.go-repo.io/centos/$releasever/$basearch/
|
|
#enabled=1
|
|
#gpgcheck=1
|
|
#gpgkey=https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO
|
|
|
|
"""
|