diff options
author | Michael E Brown <mebrown@michaels-house.net> | 2007-10-21 16:07:29 -0500 |
---|---|---|
committer | Michael E Brown <mebrown@michaels-house.net> | 2007-10-21 16:07:29 -0500 |
commit | 2344880763d4417e2d3e6f4690b3da3c6f6d9103 (patch) | |
tree | 22b146aa3b082b1dec9ca8acfe6ceacc8b7ac59a /etc | |
parent | d192e14de3b40d6b736cafb14775f341e01caa19 (diff) | |
download | mock-2344880763d4417e2d3e6f4690b3da3c6f6d9103.tar.gz mock-2344880763d4417e2d3e6f4690b3da3c6f6d9103.tar.xz mock-2344880763d4417e2d3e6f4690b3da3c6f6d9103.zip |
make plugin conf options match: *_opts and *_enable. fix for not doing 'yum install' when --no-clean, but, rather 'yum update'. update defaults.cfg to match new 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/' )) ############################################################################# # |