diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-10-24 18:18:50 -0500 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-10-24 18:18:50 -0500 |
commit | e529d4bffb7acdb0e044f172dc2f18a33bbd31fb (patch) | |
tree | d2197a739ec8ade4ee8ed8def71fe268c4ce1cf1 /src/mock.py | |
parent | 0c6265c09a45ce208d5d0f8fab9a48531dfdcdac (diff) | |
download | mock-e529d4bffb7acdb0e044f172dc2f18a33bbd31fb.tar.gz mock-e529d4bffb7acdb0e044f172dc2f18a33bbd31fb.tar.xz mock-e529d4bffb7acdb0e044f172dc2f18a33bbd31fb.zip |
allow noncontiguous cache dir specifications.
Diffstat (limited to 'src/mock.py')
-rwxr-xr-x | src/mock.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mock.py b/src/mock.py index 3c1c57a..3ec07d6 100755 --- a/src/mock.py +++ b/src/mock.py @@ -125,11 +125,11 @@ def setup_default_config_opts(config_opts): config_opts['plugin_dir'] = os.path.join(PKGPYTHONDIR, "plugins") config_opts['plugin_conf'] = { 'ccache_enable': True, - 'ccache_opts': {'max_age_days': 15, 'max_cache_size': "4G"}, + 'ccache_opts': {'max_age_days': 15, 'max_cache_size': "4G", 'dir': "%(cache_topdir)s/%(root)s/ccache/"}, 'yum_cache_enable': True, - 'yum_cache_opts': {'max_age_days': 15}, + 'yum_cache_opts': {'max_age_days': 15, 'dir': "%(cache_topdir)s/%(root)s/yum_cache/"}, 'root_cache_enable': True, - 'root_cache_opts': {'max_age_days': 15}, + 'root_cache_opts': {'max_age_days': 15, 'dir': "%(cache_topdir)s/%(root)s/root_cache/"}, 'bind_mount_enable': True, 'bind_mount_opts': {'dirs': [ # specify like this: |