From cac6972694e00fa76c69586560f0eace35f054e3 Mon Sep 17 00:00:00 2001 From: Carpentier Pierre-Francois Date: Fri, 13 Dec 2024 15:22:37 +0100 Subject: [PATCH] Fix docs Plugin-CCache.md (not enabled by default) The documentation was inconsistent, it stated thi ccache plugin as both disabled by default (introduction) and enabled by default (configuration). according to the code: https://github.com/rpm-software-management/mock/blob/061d3b64ecce61826d3cbcbe9867a6eba35b9103/mock/py/mockbuild/config.py#L139 The correct statement is disabled by default. Also fix the configuration snippet accordingly. --- docs/Plugin-CCache.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Plugin-CCache.md b/docs/Plugin-CCache.md index 0d07f009d..ca77a567d 100644 --- a/docs/Plugin-CCache.md +++ b/docs/Plugin-CCache.md @@ -9,9 +9,9 @@ Note: this plugin was enabled by default in mock-1.2.14 and older. ## Configuration -The ccache plugin is enabled by default and has the following values built-in: +The ccache plugin is disabled by default and has the following values built-in: - config_opts['plugin_conf']['ccache_enable'] = True + config_opts['plugin_conf']['ccache_enable'] = False config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G' config_opts['plugin_conf']['ccache_opts']['compress'] = None config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/%(root)s/ccache/u%(chrootuid)s/"