|
|
fd2177 |
config_opts['root'] = 'c7-updates-i686'
|
|
|
fd2177 |
config_opts['basedir'] = 'MOCKROOT'
|
|
|
fd2177 |
config_opts['target_arch'] = 'i686'
|
|
|
fd2177 |
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
|
|
|
fd2177 |
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'
|
|
|
fd2177 |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
fd2177 |
|
|
|
fd2177 |
config_opts['%centos_ver'] = "7"
|
|
|
fd2177 |
config_opts['macros']['%centos_ver'] = "7"
|
|
|
fd2177 |
config_opts['macros']['%rhel'] = "7"
|
|
|
fd2177 |
config_opts['macros']['%el7'] = "1"
|
|
|
fd2177 |
config_opts['macros']['%redhat'] = "7"
|
|
|
fd2177 |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
fd2177 |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
fd2177 |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
fd2177 |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
fd2177 |
config_opts['macros']['%_host'] = "i386-redhat-linux-gnu"
|
|
|
fd2177 |
|
|
|
fd2177 |
config_opts['yum.conf'] = """
|
|
|
fd2177 |
[main]
|
|
|
fd2177 |
cachedir=/var/cache/yum
|
|
|
fd2177 |
debuglevel=1
|
|
|
fd2177 |
reposdir=/dev/null
|
|
|
fd2177 |
logfile=/var/log/yum.log
|
|
|
fd2177 |
retries=20
|
|
|
fd2177 |
obsoletes=1
|
|
|
fd2177 |
gpgcheck=0
|
|
|
fd2177 |
assumeyes=1
|
|
|
fd2177 |
syslog_ident=mock
|
|
|
fd2177 |
syslog_device=
|
|
|
fd2177 |
|
|
|
9f8f9e |
exclude=*.x86_64 redhat-logos redhat-release* json-c-*0.11-4.el7_0*
|
|
|
fd2177 |
|
|
|
fd2177 |
# repos
|
|
|
fd2177 |
[c7.00.04]
|
|
|
fd2177 |
name=c7.00.04
|
|
|
fd2177 |
enabled=1
|
|
|
fd2177 |
cost=500
|
|
|
fd2177 |
baseurl=http://repohost/tmp/repo/c7.00.04/
|
|
|
fd2177 |
|
|
|
fd2177 |
[c7.00.03]
|
|
|
fd2177 |
name=c7.00.03
|
|
|
fd2177 |
enabled=1
|
|
|
fd2177 |
cost=750
|
|
|
fd2177 |
baseurl=http://repohost/tmp/repo/c7.00.03/
|
|
|
fd2177 |
|
|
|
fd2177 |
[c7.00.02]
|
|
|
fd2177 |
name=c7.00.02
|
|
|
fd2177 |
enabled=1
|
|
|
fd2177 |
cost=1000
|
|
|
fd2177 |
baseurl=http://repohost/tmp/repo/c7.00.02/
|
|
|
fd2177 |
|
|
|
fd2177 |
[c7.00.00]
|
|
|
fd2177 |
name=c7.00.00
|
|
|
fd2177 |
enabled=1
|
|
|
fd2177 |
cost=1500
|
|
|
fd2177 |
baseurl=http://repohost/tmp/repo/c7.00.00/
|
|
|
fd2177 |
|
|
|
fd2177 |
[c7-updates]
|
|
|
fd2177 |
name=c7-updates
|
|
|
fd2177 |
enabled=1
|
|
|
fd2177 |
cost=500
|
|
|
fd2177 |
baseurl=http://repohost/tmp/repo/c7-updates/
|
|
|
fd2177 |
|
|
|
fd2177 |
"""
|