Blob Blame History Raw
config_opts['root'] = 'TARGETNAME'
config_opts['target_arch'] = 'i686'
config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',)
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'
config_opts['dist'] = 'el6'  # only useful for --resultdir variable subst
config_opts['macros']['%dist'] = ".el6"
config_opts['%centos_ver'] = "6"
config_opts['macros']['%centos_ver'] = "6"
config_opts['macros']['%rhel'] = "6"
config_opts['macros']['%el6'] = "1"
config_opts['macros']['%redhat'] = "6"
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
config_opts['macros']['%_host'] = "i386-redhat-linux-gnu"
config_opts['macros']['%vendor'] = "CentOS"
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"

# no ccache in base repo
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False

config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=

exclude=*.x86_64  

# repos

[all]
name=centos 6 i386 - all
baseurl=http://repohost/repo/6.all.i386/
enabled=1
gpgcheck=0
cost=2000

[6.10]
name=6.10
baseurl=http://repohost/repo/6.10.i386/
enabled=1
gpgcheck=0
cost=1900


"""