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