diff --git a/roles/koji_builder/templates/builders/site-defaults.cfg b/roles/koji_builder/templates/builders/site-defaults.cfg index e8aebdfcdb..94141f82e2 100644 --- a/roles/koji_builder/templates/builders/site-defaults.cfg +++ b/roles/koji_builder/templates/builders/site-defaults.cfg @@ -1,6 +1,10 @@ config_opts['plugin_conf']['package_state_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False +{% if env == "staging" %} +config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0', '--setopt=optional_metadata_types=filelists'] +{% else %} config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0'] +{% endif %} config_opts['macros']['%bugurl'] = 'https://bugz.fedoraproject.org/%name' #config_opts['nosync'] = True #config_opts['nosync_force'] = True