bkernel: mock+nspawn pesign config cleanup

It is better to keep the Mock's default for `nspawn_args`, and just
append to them (mock can change that configuration option dynamically).

Complements: b6669bc5f6
This commit is contained in:
Pavel Raiskup 2022-09-06 14:29:08 +02:00 committed by kevin
parent 62fc6023fe
commit 896e8fd296

View file

@ -1,6 +1,6 @@
# 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'] = ['--capability=cap_ipc_lock','--bind=/var/run/pesign']
config_opts['nspawn_args'] += ['--bind=/var/run/pesign']
config_opts['plugin_conf']['package_state_enable'] = False
config_opts['macros']['%bugurl'] = 'https://bugz.fedoraproject.org/%name'
#config_opts['nosync'] = True