copr: don't disable yum/dnf caches

We re-use the mock profile several times during one package build,
and it doesn't make sense to re-download the repo metadata all the
time.

We have nowadays namespaced directory under /var/cache/mock
per-build ID, so there's no risk that we'll use some very old
caches because of 'max_age_days' or 'max_metadata_age_days' config
options.
This commit is contained in:
Pavel Raiskup 2019-06-05 10:24:06 +02:00
parent c1bd2968c8
commit 9988126185

View file

@ -3,8 +3,6 @@
config_opts['plugin_conf']['package_state_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['plugin_conf']['yum_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