|
|
97f68b |
config_opts['root'] = 'TARGETNAME'
|
|
|
97f68b |
config_opts['target_arch'] = 'i686'
|
|
|
97f68b |
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
|
|
|
dff969 |
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 scl-utils-build devtoolset-7-build rust-toolset-7-build'
|
|
|
97f68b |
config_opts['dist'] = 'el6' # only useful for --resultdir variable subst
|
|
|
97f68b |
config_opts['macros']['%dist'] = ".el6"
|
|
|
97f68b |
config_opts['%centos_ver'] = "6"
|
|
|
97f68b |
config_opts['macros']['%centos_ver'] = "6"
|
|
|
97f68b |
config_opts['macros']['%rhel'] = "6"
|
|
|
97f68b |
config_opts['macros']['%el6'] = "1"
|
|
|
97f68b |
config_opts['macros']['%redhat'] = "6"
|
|
|
97f68b |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
97f68b |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
97f68b |
config_opts['macros']['%_host'] = "i386-redhat-linux-gnu"
|
|
|
97f68b |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
97f68b |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
97f68b |
|
|
|
97f68b |
# no ccache in base repo
|
|
|
97f68b |
config_opts['plugin_conf']['ccache_enable'] = False
|
|
|
97f68b |
config_opts['plugin_conf']['yum_cache_enable'] = False
|
|
|
97f68b |
|
|
|
97f68b |
config_opts['yum.conf'] = """
|
|
|
97f68b |
[main]
|
|
|
97f68b |
cachedir=/var/cache/yum
|
|
|
97f68b |
keepcache=1
|
|
|
97f68b |
debuglevel=2
|
|
|
97f68b |
reposdir=/dev/null
|
|
|
97f68b |
logfile=/var/log/yum.log
|
|
|
97f68b |
retries=20
|
|
|
97f68b |
obsoletes=1
|
|
|
97f68b |
gpgcheck=0
|
|
|
97f68b |
assumeyes=1
|
|
|
97f68b |
syslog_ident=mock
|
|
|
97f68b |
syslog_device=
|
|
|
97f68b |
|
|
|
97f68b |
exclude=*.x86_64
|
|
|
97f68b |
|
|
|
97f68b |
# repos
|
|
|
97f68b |
|
|
|
97f68b |
[all]
|
|
|
97f68b |
name=centos 6 i386 - all
|
|
|
97f68b |
baseurl=http://repohost/repo/6.all.i386/
|
|
|
97f68b |
enabled=1
|
|
|
97f68b |
gpgcheck=0
|
|
|
97f68b |
cost=2000
|
|
|
97f68b |
|
|
|
97f68b |
[6.10-updates]
|
|
|
97f68b |
name=6.10-updates
|
|
|
97f68b |
baseurl=http://repohost/repo/6.10-updates.i386/
|
|
|
97f68b |
enabled=1
|
|
|
97f68b |
gpgcheck=0
|
|
|
97f68b |
cost=1900
|
|
|
97f68b |
|
|
|
97f68b |
[c6-devtoolset-7.i386]
|
|
|
97f68b |
name=c6-devtoolset-7
|
|
|
97f68b |
enabled=1
|
|
|
97f68b |
baseurl=http://repohost/repo/c6-devtoolset-7.i386/
|
|
|
97f68b |
|
|
|
dff969 |
[c6-rust-toolset-7.i386]
|
|
|
dff969 |
name=c6-rust-toolset-7
|
|
|
97f68b |
enabled=1
|
|
|
dff969 |
baseurl=http://repohost/repo/c6-rust-toolset-7.i386/
|
|
|
97f68b |
|
|
|
97f68b |
"""
|
|
|
97f68b |
|