koji_builder / staging / mock site defaults: try adding option for fileslists for epel8

lets try setting the opt to download filelists for the bootstrap chroot.
This is needed for epel8 because the deps for dnf need to resolve
/usr/libexec/platform-python and cannot due to f40 dnf not downloading
filelists by default anymore.

This will affect all bootstrap chroot creation, but it seems the
simpilest solution without changes in koji.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-07-13 10:26:50 -07:00
parent 8925937958
commit 28d03c6145

View file

@ -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