blob: 67be46a40adae646711b90aed687dd3db4db0d98 [file] [log] [blame]
William A. Kennington III93aa28f2021-05-17 19:40:22 -07001systemd_system_unit_dir = dependency('systemd').get_variable(
Patrick Williamsff5f42f2023-04-12 08:01:04 -05002 '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(
Patrick Williamsff5f42f2023-04-12 08:01:04 -050017 'system_bus_services_dir',
Andrew Geissler92ae4832023-01-20 10:21:00 -070018 pkgconfig_define: ['prefix', get_option('prefix')])
19install_data(
20 'dbus/xyz.openbmc_project.Logging.service',
21 install_dir: dbus_system_bus_services_dir)