config_opts['root'] = 'centos-7-i386' config_opts['target_arch'] = 'i686' config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64', 'noarch',) 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 epel-rpm-macros' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['macros']['%dist'] = ".el7" config_opts['%centos_ver'] = "7" config_opts['macros']['%centos_ver'] = "7" config_opts['macros']['%rhel'] = "7" config_opts['macros']['%el7'] = "1" config_opts['macros']['%redhat'] = "7" 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 " # 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 [base] name=centos 7 i386 - base baseurl=http://192.168.0.5/altarch/7/os/i386/ enabled=1 gpgcheck=0 cost=2000 [updates] name=centos 7 i386 - updates baseurl=http://192.168.0.5/altarch/7/updates/i386/ enabled=1 gpgcheck=0 cost=2000 [extras] name=centos 7 i386 - extras baseurl=http://192.168.0.5/altarch/7/extras/i386/ enabled=1 gpgcheck=0 cost=2500 [c7-epel.i386] name=c7-epel.i386 baseurl=http://192.168.0.5/c7-epel.i386/ enabled=1 gpgcheck=0 cost=1850 [epel.noarch] name=epel.noarch baseurl=http://192.168.0.5/epel/7/x86_64/ enabled=1 gpgcheck=0 cost=2600 """