diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults.cfg | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/etc/defaults.cfg b/etc/defaults.cfg index 86f2933..6f3e08b 100644 --- a/etc/defaults.cfg +++ b/etc/defaults.cfg @@ -16,6 +16,7 @@ # Things that we recommend you set in defaults.cfg: # # config_opts['basedir'] = '/var/lib/mock/' +# config_opts['cache_topdir'] = '/var/lib/mock/cache' # config_opts['rpmbuild_timeout'] = 0 # config_opts['use_host_resolv'] = True @@ -28,19 +29,21 @@ ############################################################################# # -# Caching related. Below are the defaults. Change to suit your site +# plugin related. Below are the defaults. Change to suit your site # policy. defaults.cfg is a good place to do this. # # NOTE: Some of the caching options can theoretically affect build # reproducability. Change with care. # -# config_opts['cache_topdir'] = '/var/lib/mock/cache' -# config_opts['enable_ccache'] = True -# config_opts['ccache_opts'] = {'max_age_days': 15, 'max_cache_size': "4G"} -# config_opts['enable_yum_cache'] = True -# config_opts['yum_cache_opts'] = {'max_age_days': 15} -# config_opts['enable_root_cache'] = True -# config_opts['root_cache_opts'] = {'max_age_days': 15} +# config_opts['plugin_conf']['ccache_enable'] = True +# config_opts['plugin_conf']['ccache_opts']['max_age_days'] = +# config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G' +# config_opts['plugin_conf']['yum_cache_enable'] = True +# config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] +# config_opts['plugin_conf']['root_cache_enable'] = True +# config_opts['plugin_conf']['root_cache_opts']['max_age_days'] +# config_opts['plugin_conf']['bind_mount_enable'] = True +# config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/host/path', '/bind/mount/path/in/chroot/' )) ############################################################################# # |