config_opts['root'] = 'epel-6-i386' config_opts['target_arch'] = 'i686' config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64') config_opts['chroot_setup_cmd'] = 'install @buildsys-build' config_opts['dist'] = 'el6' # only useful for --resultdir variable subst # beware: RHEL uses 6Server or 6Client config_opts['releasever'] = '6' config_opts['use_nspawn'] = False config_opts['bootstrap_image'] = 'centos:6' config_opts['yum.conf'] = """ [main] 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= mdpolicy=group:primary best=1 protected_packages= # repos [base] name=BaseOS enabled=1 mirrorlist=http://mirrorlist.centos.org/?release=6&arch=i386&repo=os failovermethod=priority gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6 gpgcheck=1 skip_if_unavailable=False [updates] name=updates enabled=1 mirrorlist=http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates failovermethod=priority gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6 gpgcheck=1 skip_if_unavailable=False [epel] name=epel mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=i386 failovermethod=priority gpgkey=file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-6 gpgcheck=1 skip_if_unavailable=False [testing] name=epel-testing enabled=0 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=i386 failovermethod=priority skip_if_unavailable=False [local] name=local baseurl=https://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/i386/ cost=2000 enabled=0 skip_if_unavailable=False [epel-debuginfo] name=epel-debug mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6&arch=i386 failovermethod=priority enabled=0 skip_if_unavailable=False """