blob: 378d4fc0fee631531c421e5a4c2d36cd93c1d479 [file] [log] [blame]
William A. Kennington III93aa28f2021-05-17 19:40:22 -07001systemd_system_unit_dir = dependency('systemd').get_variable(
2 pkgconfig: 'systemdsystemunitdir')
Anton D. Kachalov271408b2021-03-30 13:29:00 +02003
4install_data(
5 ['xyz.openbmc_project.Logging.service',
6 'xyz.openbmc_project.Syslog.Config.service'],
William A. Kennington III93aa28f2021-05-17 19:40:22 -07007 install_dir: systemd_system_unit_dir,
Anton D. Kachalov271408b2021-03-30 13:29:00 +02008)
9
10install_data(
William A. Kennington III93aa28f2021-05-17 19:40:22 -070011 'busconfig/phosphor-logging.conf',
12 'busconfig/phosphor-rsyslog-config.conf',
13 install_dir: get_option('datadir') / 'dbus-1' / 'system.d',
Anton D. Kachalov271408b2021-03-30 13:29:00 +020014)
Andrew Geissler92ae4832023-01-20 10:21:00 -070015
16dbus_system_bus_services_dir = dependency('dbus-1').get_variable(
17 pkgconfig: 'system_bus_services_dir',
18 pkgconfig_define: ['prefix', get_option('prefix')])
19install_data(
20 'dbus/xyz.openbmc_project.Logging.service',
21 install_dir: dbus_system_bus_services_dir)