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