mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-03 10:25:16 +00:00
b9a063cd8e
The 'conflict' key in a virt_daemon_unit dictionary is not used when generating systemd service and socket files. The comment associated with the key claims the default is 'true', and a few build files needlessly set it to 'true' when defining their virt_daemon_unit. Remove the 'conflict' key and its use in the affect build files. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
52 lines
1023 B
Meson
52 lines
1023 B
Meson
secret_driver_sources = [
|
|
'secret_driver.c',
|
|
]
|
|
|
|
driver_source_files += files(secret_driver_sources)
|
|
stateful_driver_source_files += files(secret_driver_sources)
|
|
|
|
if conf.has('WITH_SECRETS')
|
|
virt_modules += {
|
|
'name': 'virt_driver_secret',
|
|
'sources': [
|
|
files(secret_driver_sources),
|
|
],
|
|
'deps': [
|
|
access_dep,
|
|
],
|
|
'link_args': [
|
|
libvirt_no_undefined,
|
|
],
|
|
}
|
|
|
|
virt_daemons += {
|
|
'name': 'virtsecretd',
|
|
'c_args': [
|
|
'-DDAEMON_NAME="virtsecretd"',
|
|
'-DMODULE_NAME="secret"',
|
|
],
|
|
}
|
|
|
|
virt_daemon_confs += {
|
|
'name': 'virtsecretd',
|
|
}
|
|
|
|
virt_daemon_units += {
|
|
'service': 'virtsecretd',
|
|
'service_in': files('virtsecretd.service.in'),
|
|
'name': 'Libvirt secret',
|
|
'sockprefix': 'virtsecretd',
|
|
'sockets': [ 'main', 'ro', 'admin' ],
|
|
}
|
|
|
|
openrc_init_files += {
|
|
'name': 'virtsecretd',
|
|
'in_file': files('virtsecretd.init.in'),
|
|
}
|
|
|
|
sysconf_files += {
|
|
'name': 'virtsecretd',
|
|
'file': files('virtsecretd.sysconf'),
|
|
}
|
|
endif
|