3 config_opts['root'] = 'centos-5-i386'
4 config_opts['target_arch'] = 'i386'
6 config_opts['cleanup_on_failure'] = 0
8 config_opts['chroot_setup_cmd'] = 'install buildsys-build'
10 # caching related options
11 #these are probably obsolete?
12 config_opts['rebuild_cache'] = False
13 #config_opts['use_cache'] = False
14 config_opts['use_cache'] = True
15 config_opts['pack_cmd'] = "/usr/sbin/mock-helper pack"
16 config_opts['unpack_cmd'] = "/usr/sbin/mock-helper unpack"
17 config_opts['cache_ext'] = ".tar.gz"
18 config_opts['cache_topdir'] = "/var/cache/mock"
19 #config_opts['max_cache_age_days'] = 15
20 config_opts['max_cache_age_days'] = 150
22 # config_opts['plugin_conf']['ccache_enable'] = True
23 config_opts['plugin_conf']['ccache_enable'] = False
24 # config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G'
25 # config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/%(root)s/ccache/"
26 config_opts['plugin_conf']['yum_cache_enable'] = True
27 config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] = 30
28 config_opts['plugin_conf']['yum_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/yum_cache/"
29 config_opts['plugin_conf']['root_cache_enable'] = True
30 config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 15
31 config_opts['plugin_conf']['root_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/root_cache/"
32 config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "gzip"
33 config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz"
36 config_opts['yum.conf'] = """
39 cachedir=/var/cache/yum
42 logfile=/var/log/yum.log
52 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os
53 baseurl=http://mirror.centos.org/centos/5/os/i386/
54 #baseurl=file:///home/rsiddall/mock/repos/centos/5/os/i386/
58 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates
59 baseurl=http://mirror.centos.org/centos/5/updates/i386/
60 #baseurl=file:///home/rsiddall/mock/repos/centos/5/updates/i386/
64 baseurl=http://dev.centos.org/centos/buildsys/5/
68 #something here is causing a problem, don't know what, see if we need anything
69 #config_opts['macros'] = """
70 #%_topdir /builddir/build
71 #%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
73 ## Change the next two lines to reflect yourself.
75 #%packager Freeside Internet Services, Inc. <rpm@freeside.biz>
79 ## please change this to reflect the Distro Tree and Repo hosting packages!
80 ##%dist <distro>.<yourtag>