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