koji_builder: add /dev/fuse mount to runroots

ostree unified composes need /dev/fuse, so allow/add it to runroot
defaults. See https://pagure.io/fedora-infrastructure/issue/11420

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-07-21 09:05:14 -07:00
parent 06d4c39372
commit f4e8a921a6

View file

@ -5,7 +5,7 @@
; parameter for individual calls.
; default_mounts = /mnt/archive,/mnt/workdir
{% if env == 'production' %}
default_mounts = /mnt/koji
default_mounts = /mnt/koji,/dev/fuse
{% elif env == 'staging' %}
; In staging we also need the production split volume
default_mounts = /mnt/koji,/mnt/fedora_koji_prod/koji,/etc/kojid/secrets
@ -15,7 +15,7 @@ default_mounts = /mnt/koji,/mnt/fedora_koji_prod/koji,/etc/kojid/secrets
; Each extra_mount needs to start with some of these prefixes. Other paths are
; not allowed for mounting. Only absolute paths are allowed here, no
; wildcards.
safe_roots = /mnt/koji/compose,/mnt/koji/atomic-cd,/srv/odcs/
safe_roots = /mnt/koji/compose,/mnt/koji/atomic-cd,/srv/odcs/,/dev/fuse
; path substitutions is tuple per line, delimited by comma, order is
; important.
@ -48,6 +48,12 @@ path = /srv/odcs
fstype = bind
options = bind
[path5]
mountpoint = /dev/fuse
path = /dev/fuse
fstype = bind
options = bind
{% if env == 'staging' %}
; we need to mount the production split volume here.
[path3]