mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +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>
63 lines
1.3 KiB
Meson
63 lines
1.3 KiB
Meson
interface_driver_sources = [
|
|
'interface_driver.c',
|
|
]
|
|
|
|
if conf.has('WITH_NETCF')
|
|
interface_driver_sources += 'interface_backend_netcf.c'
|
|
endif
|
|
|
|
if conf.has('WITH_UDEV')
|
|
interface_driver_sources += 'interface_backend_udev.c'
|
|
endif
|
|
|
|
driver_source_files += files(interface_driver_sources)
|
|
stateful_driver_source_files += files(interface_driver_sources)
|
|
|
|
if conf.has('WITH_INTERFACE')
|
|
virt_modules += {
|
|
'name': 'virt_driver_interface',
|
|
'sources': [
|
|
files(interface_driver_sources),
|
|
],
|
|
'deps': [
|
|
access_dep,
|
|
libnl_dep,
|
|
netcf_dep,
|
|
udev_dep,
|
|
],
|
|
'link_args': [
|
|
libvirt_no_undefined,
|
|
],
|
|
}
|
|
|
|
virt_daemons += {
|
|
'name': 'virtinterfaced',
|
|
'c_args': [
|
|
'-DDAEMON_NAME="virtinterfaced"',
|
|
'-DMODULE_NAME="interface"',
|
|
],
|
|
}
|
|
|
|
virt_daemon_confs += {
|
|
'name': 'virtinterfaced',
|
|
}
|
|
|
|
virt_daemon_units += {
|
|
'service': 'virtinterfaced',
|
|
'service_in': files('virtinterfaced.service.in'),
|
|
'name': 'Libvirt interface',
|
|
'sockprefix': 'virtinterfaced',
|
|
'sockets': [ 'main', 'ro', 'admin' ],
|
|
}
|
|
|
|
openrc_init_files += {
|
|
'name': 'virtinterfaced',
|
|
'in_file': files('virtinterfaced.init.in')
|
|
}
|
|
|
|
sysconf_files += {
|
|
'name': 'virtinterfaced',
|
|
'file': files('virtinterfaced.sysconf'),
|
|
}
|
|
endif
|