From 28d03c61458205b352578050cb50e1a74b5a5e5c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 13 Jul 2024 10:26:50 -0700 Subject: [PATCH] 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 --- roles/koji_builder/templates/builders/site-defaults.cfg | 4 ++++ 1 file changed, 4 insertions(+) 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