1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
if init_script == 'systemd'
configure_file(
configuration: conf,
input: 'libvirt-dbus.service.in',
output: 'libvirt-dbus.service',
install_dir: systemd_system_unit_dir,
)
dbus_service_in = 'org.libvirt-systemd.service.in'
else
dbus_service_in = 'org.libvirt.service.in'
endif
configure_file(
configuration: conf,
input: dbus_service_in,
output: 'org.libvirt.service',
install_dir: dbus_system_services_dir,
)
configure_file(
configuration: conf,
input: 'org.libvirt.conf.in',
output: 'org.libvirt.conf',
install_dir: dbus_system_policies_dir,
)
configure_file(
configuration: conf,
input: 'libvirt-dbus.rules.in',
output: 'libvirt-dbus.rules',
install_dir: polkit_rules_dir,
)
|