|
|
98d1cc |
config_opts['root'] = 'c7-updates-i686'
|
|
|
98d1cc |
config_opts['basedir'] = 'MOCKROOT'
|
|
|
98d1cc |
config_opts['target_arch'] = 'i686'
|
|
|
98d1cc |
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
|
|
|
98d1cc |
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
|
|
|
98d1cc |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
98d1cc |
|
|
|
98d1cc |
config_opts['%centos_ver'] = "7"
|
|
|
98d1cc |
config_opts['macros']['%centos_ver'] = "7"
|
|
|
98d1cc |
config_opts['macros']['%rhel'] = "7"
|
|
|
98d1cc |
config_opts['macros']['%el7'] = "1"
|
|
|
98d1cc |
config_opts['macros']['%redhat'] = "7"
|
|
|
98d1cc |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
98d1cc |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
98d1cc |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
98d1cc |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
98d1cc |
config_opts['macros']['%_host'] = "i386-redhat-linux-gnu"
|
|
|
98d1cc |
|
|
|
98d1cc |
config_opts['yum.conf'] = """
|
|
|
98d1cc |
[main]
|
|
|
98d1cc |
cachedir=/var/cache/yum
|
|
|
98d1cc |
debuglevel=1
|
|
|
98d1cc |
reposdir=/dev/null
|
|
|
98d1cc |
logfile=/var/log/yum.log
|
|
|
98d1cc |
retries=20
|
|
|
98d1cc |
obsoletes=1
|
|
|
98d1cc |
gpgcheck=0
|
|
|
98d1cc |
assumeyes=1
|
|
|
98d1cc |
syslog_ident=mock
|
|
|
98d1cc |
syslog_device=
|
|
|
98d1cc |
|
|
|
98d1cc |
exclude=*.x86_64 redhat-logos redhat-release* *3.12.1-153.el7_*
|
|
|
98d1cc |
|
|
|
98d1cc |
# repos
|
|
|
98d1cc |
[c7.00.04]
|
|
|
98d1cc |
name=c7.00.04
|
|
|
98d1cc |
enabled=1
|
|
|
98d1cc |
cost=500
|
|
|
98d1cc |
baseurl=http://repohost/tmp/repo/c7.00.04/
|
|
|
98d1cc |
|
|
|
98d1cc |
[c7.00.03]
|
|
|
98d1cc |
name=c7.00.03
|
|
|
98d1cc |
enabled=1
|
|
|
98d1cc |
cost=750
|
|
|
98d1cc |
baseurl=http://repohost/tmp/repo/c7.00.03/
|
|
|
98d1cc |
|
|
|
98d1cc |
[c7.00.02]
|
|
|
98d1cc |
name=c7.00.02
|
|
|
98d1cc |
enabled=1
|
|
|
98d1cc |
cost=1000
|
|
|
98d1cc |
baseurl=http://repohost/tmp/repo/c7.00.02/
|
|
|
98d1cc |
|
|
|
98d1cc |
[c7.00.00]
|
|
|
98d1cc |
name=c7.00.00
|
|
|
98d1cc |
enabled=1
|
|
|
98d1cc |
cost=1500
|
|
|
98d1cc |
baseurl=http://repohost/tmp/repo/c7.00.00/
|
|
|
98d1cc |
|
|
|
98d1cc |
[c7-updates]
|
|
|
98d1cc |
name=c7-updates
|
|
|
98d1cc |
enabled=1
|
|
|
98d1cc |
cost=500
|
|
|
98d1cc |
baseurl=http://repohost/tmp/repo/c7-updates/
|
|
|
98d1cc |
|
|
|
98d1cc |
"""
|