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