Skip to content

Commit

Permalink
mock: bind mount pesign socket on build
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Nov 16, 2023
1 parent 6298c0b commit e107d7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qubesbuilder/plugins/chroot_rpm/mock/fedora.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ config_opts['use_bootstrap'] = False
config_opts['plugin_conf']['bind_mount_enable'] = os.environ.get("BIND_MOUNT_ENABLE", False)
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('@BUILDER_DIR@/plugins', '/plugins' ))

# mount the pesign socket into the chroot
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/var/run/pesign', '/var/run/pesign' ))
config_opts['nspawn_args'] += ['--bind=/var/run/pesign']

config_opts['dnf.conf'] = """
[main]
keepcache=1
Expand Down

0 comments on commit e107d7e

Please sign in to comment.