diff --git a/qubesbuilder/plugins/chroot_rpm/mock/fedora.cfg b/qubesbuilder/plugins/chroot_rpm/mock/fedora.cfg index 041d93f4..9a7f1d5a 100644 --- a/qubesbuilder/plugins/chroot_rpm/mock/fedora.cfg +++ b/qubesbuilder/plugins/chroot_rpm/mock/fedora.cfg @@ -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