CallumLerwick/MockHacking/I386Config

import os

config_opts['root'] = 'fedora-5-i386-core' config_opts['basedir'] = '/var/lib/mock/' config_opts['chroot'] = '/usr/sbin/mock-helper chroot' config_opts['mount'] = '/usr/sbin/mock-helper mount' config_opts['umount'] = '/usr/sbin/mock-helper umount' config_opts['rm'] = '/usr/sbin/mock-helper rm' config_opts['mknod'] = '/usr/sbin/mock-helper mknod' config_opts['yum'] = '/usr/sbin/mock-helper yum' config_opts['runuser'] = '/sbin/runuser' config_opts['buildgroup'] = 'build build-minimal build-base local' config_opts['chrootuser'] = 'mockbuild' config_opts['chrootgroup'] = 'mockbuild' config_opts['chrootuid'] = os.geteuid config_opts['chrootgid'] = os.getegid config_opts['chroothome'] = '/builddir' config_opts['clean'] = True config_opts['target_arch'] = 'i386'

config_opts['yum.conf'] = """ [main] cachedir=/var/cache/yum keepcache=1 debuglevel=1 reposdir=/dev/null logfile=/var/log/yum.log pkgpolicy=newest retries=20 obsoletes=1 gpgcheck=0 metadata_expire=1800 assumeyes=1 tsflags=nodocs


 * 1) proxy=http://hostname:8080/

[groups-i386] name=Buildgroups i386 baseurl=http://fedoraproject.org/buildgroups/5/i386/ enabled=1

[core-i386] name=Fedora Core i386 baseurl=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/i386/os/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[updates-i386] name=Fedora Core Updates i386 baseurl=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/updates/5/i386/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[extras-i386] name=Fedora Extras i386 baseurl=http://redhat.download.fedoraproject.org/pub/fedora/linux/extras/5/i386/enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras

[local-noarch] name=local noarch baseurl=file:///storage/localrpms/noarch/ enabled=1

[local-i386] name=local i386 baseurl=file:///storage/localrpms/i386/ enabled=1 """