commit 7d608efd7d8effe77b00937dedce73cce325969a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Sep 27 21:29:33 2024 +0200
Update rpmfusion site-defaults.cfg
.../koji_builder/files/builders/site-defaults.cfg | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/roles/koji_builder/files/builders/site-defaults.cfg
b/roles/koji_builder/files/builders/site-defaults.cfg
index 6b3dfe4..eab1c00 100644
--- a/roles/koji_builder/files/builders/site-defaults.cfg
+++ b/roles/koji_builder/files/builders/site-defaults.cfg
@@ -1,7 +1,8 @@
config_opts['plugin_conf']['package_state_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
-config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0']
-config_opts['http_proxy'] = 'http://192.168.182.1:3128'
+config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0',
'--setopt=optional_metadata_types=filelists']
+config_opts['macros']['%bugurl'] =
'https://bugz.rpmfusion.org/%name'
+config_opts['http_proxy'] = 'http://proxy:3128'
config_opts['nosync'] = True
config_opts['nosync_force'] = True
config_opts['environment']['LANG'] = 'C.UTF-8'
@@ -11,7 +12,19 @@ config_opts['dnf_warning'] = False
config_opts['dnf_command'] = '/usr/bin/dnf-3'
config_opts['system_dnf_command'] = '/usr/bin/dnf-3'
config_opts['dnf_install_command'] = 'install python3-dnf
dnf-plugins-core'
-config_opts['useradd'] = '/usr/sbin/useradd -m -u {{chrootuid}} -g
{{chrootgid}} -d {{chroothome}} {{chrootuser}}'
+config_opts['use_bootstrap_image'] = False
+
+# dnf group install with '--allowerasing' is still to be released:
+#
https://github.com/rpm-software-management/dnf5/pull/1174
+config_opts["dnf5_avoid_opts"] = {
+ "group": ["--allowerasing"],
+}
+
+config_opts['plugin_conf']['rpmautospec_enable'] = True
+config_opts['plugin_conf']['rpmautospec_opts'] = {
+ 'requires': ['rpmautospec'],
+ 'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],
+}
if '-cuda' in config_opts['chroot_name']:
config_opts['module_setup_commands'] = [