From 8081fa90b54a53fd93d11cdf4bb70757e403f055 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 26 Feb 2020 15:31:02 +0100 Subject: [PATCH] copr: builders: disable root cache https://pagure.io/copr/copr/issue/1202 --- .../backend/files/provision/files/mock/site-defaults.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg index 9e1d1698ec..d45d7806b4 100644 --- a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg +++ b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg @@ -3,7 +3,10 @@ config_opts['plugin_conf']['package_state_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False -config_opts['plugin_conf']['root_cache_enable'] = True +# Disable root cache to not waste disk I/O. Root cache tarballs were created, +# but for long time they were not used. +config_opts['plugin_conf']['root_cache_enable'] = False + # when used build ignores additional buildroot packages, reason unknown # config_opts['plugin_conf']['root_cache_opts']['age_check'] = False config_opts['plugin_conf']['bind_mount_enable'] = False