koji_builder / runroot: set this mount at the mock level on compose channel hosts only

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-07-21 09:46:08 -07:00
parent 8735931424
commit 7c10f88b02

View file

@ -12,6 +12,10 @@ config_opts['dnf_warning'] = False
# We need to set this to get ostree_installer runroot jobs working
# https://bugzilla.redhat.com/show_bug.cgi?id=2123812
config_opts['nspawn_args'] += ['--capability=cap_mac_admin']
# We need to set this to get rpm-ostree unified images working
# https://pagure.io/fedora-infrastructure/issue/11420
config_opts['plugin_conf']['bind_mount_enable'] = True
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(("/dev/fuse", "/dev/fuse"))
{% endif %}
config_opts['dnf_command'] = '/usr/bin/dnf-3'
config_opts['system_dnf_command'] = '/usr/bin/dnf-3'