2017-07-27 15:57:11 +02:00
|
|
|
config_opts['root'] = 'epel-7-x86_64'
|
|
|
|
config_opts['target_arch'] = 'x86_64'
|
|
|
|
config_opts['legal_host_arches'] = ('x86_64',)
|
|
|
|
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
|
|
|
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
|
config_opts['releasever'] = '7'
|
|
|
|
config_opts['rpmbuild_networking'] = 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
|
|
|
|
syslog_ident=mock
|
|
|
|
syslog_device=
|
|
|
|
mdpolicy=group:primary
|
|
|
|
best=1
|
|
|
|
|
|
|
|
# repos
|
2017-12-07 18:45:04 +01:00
|
|
|
[scylla-centos-base]
|
2017-07-27 15:57:11 +02:00
|
|
|
name=BaseOS
|
|
|
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
|
|
|
|
failovermethod=priority
|
2017-12-07 18:45:04 +01:00
|
|
|
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
2017-07-27 15:57:11 +02:00
|
|
|
gpgcheck=1
|
|
|
|
|
2017-12-07 18:45:04 +01:00
|
|
|
[scylla-centos-updates]
|
2017-07-27 15:57:11 +02:00
|
|
|
name=updates
|
|
|
|
enabled=1
|
|
|
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
|
|
|
|
failovermethod=priority
|
2017-12-07 18:45:04 +01:00
|
|
|
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
2017-07-27 15:57:11 +02:00
|
|
|
gpgcheck=1
|
|
|
|
|
2017-12-07 18:45:04 +01:00
|
|
|
[scylla-centos-extras]
|
2017-07-27 15:57:11 +02:00
|
|
|
name=extras
|
|
|
|
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
|
|
|
|
failovermethod=priority
|
2017-12-07 18:45:04 +01:00
|
|
|
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7
|
2017-07-27 15:57:11 +02:00
|
|
|
gpgcheck=1
|
|
|
|
|
2017-12-07 18:45:04 +01:00
|
|
|
[scylla-epel]
|
|
|
|
name=epel
|
|
|
|
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
|
2017-07-27 15:57:11 +02:00
|
|
|
failovermethod=priority
|
2017-12-07 18:45:04 +01:00
|
|
|
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
|
|
|
gpgcheck=1
|
2017-07-27 15:57:11 +02:00
|
|
|
"""
|