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