From ed20388baff1dbda2cac186f371d3622db9d282e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 26 Feb 2020 16:00:46 +0100 Subject: [PATCH] copr: builders: re-enable root cache I was wrong. We actually use the root cache, because we - for each build_chroot - build src.rpm separately, and once src.rpm is ready we build binary rpm. This reverts commit b768a27fafd28ab0168279c9d7d474021a1f6534. --- .../backend/files/provision/files/mock/site-defaults.cfg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 d45d7806b4..9e1d1698ec 100644 --- a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg +++ b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg @@ -3,10 +3,7 @@ config_opts['plugin_conf']['package_state_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False -# 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 - +config_opts['plugin_conf']['root_cache_enable'] = True # 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