mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 18:33:11 +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>
67 lines
1.2 KiB
Meson
67 lines
1.2 KiB
Meson
vz_driver_sources = [
|
|
'vz_driver.c',
|
|
'vz_utils.c',
|
|
'vz_sdk.c',
|
|
]
|
|
|
|
driver_source_files += files(vz_driver_sources)
|
|
stateful_driver_source_files += files(vz_driver_sources)
|
|
|
|
if conf.has('WITH_VZ')
|
|
vz_driver_impl = static_library(
|
|
'virt_driver_vz_impl',
|
|
[
|
|
vz_driver_sources,
|
|
],
|
|
dependencies: [
|
|
access_dep,
|
|
libnl_dep,
|
|
parallels_sdk_dep,
|
|
src_dep,
|
|
],
|
|
include_directories: [
|
|
conf_inc_dir,
|
|
],
|
|
)
|
|
|
|
virt_modules += {
|
|
'name': 'virt_driver_vz',
|
|
'link_whole': [
|
|
vz_driver_impl,
|
|
],
|
|
'link_args': [
|
|
libvirt_no_undefined,
|
|
],
|
|
}
|
|
|
|
virt_daemons += {
|
|
'name': 'virtvzd',
|
|
'c_args': [
|
|
'-DDAEMON_NAME="virtvzd"',
|
|
'-DMODULE_NAME="vz"',
|
|
],
|
|
}
|
|
|
|
virt_daemon_confs += {
|
|
'name': 'virtvzd',
|
|
}
|
|
|
|
virt_daemon_units += {
|
|
'service': 'virtvzd',
|
|
'service_in': files('virtvzd.service.in'),
|
|
'name': 'Libvirt vz',
|
|
'sockprefix': 'virtvzd',
|
|
'sockets': [ 'main', 'ro', 'admin' ],
|
|
}
|
|
|
|
openrc_init_files += {
|
|
'name': 'virtvzd',
|
|
'in_file': files('virtvzd.init.in'),
|
|
}
|
|
|
|
sysconf_files += {
|
|
'name': 'virtvzd',
|
|
'file': files('virtvzd.sysconf'),
|
|
}
|
|
endif
|