William A. Kennington III | 93aa28f | 2021-05-17 19:40:22 -0700 | [diff] [blame] | 1 | systemd_system_unit_dir = dependency('systemd').get_variable( |
Patrick Williams | ff5f42f | 2023-04-12 08:01:04 -0500 | [diff] [blame] | 2 | 'systemdsystemunitdir') |
Anton D. Kachalov | 271408b | 2021-03-30 13:29:00 +0200 | [diff] [blame] | 3 | |
| 4 | install_data( |
| 5 | ['xyz.openbmc_project.Logging.service', |
| 6 | 'xyz.openbmc_project.Syslog.Config.service'], |
William A. Kennington III | 93aa28f | 2021-05-17 19:40:22 -0700 | [diff] [blame] | 7 | install_dir: systemd_system_unit_dir, |
Anton D. Kachalov | 271408b | 2021-03-30 13:29:00 +0200 | [diff] [blame] | 8 | ) |
| 9 | |
| 10 | install_data( |
William A. Kennington III | 93aa28f | 2021-05-17 19:40:22 -0700 | [diff] [blame] | 11 | 'busconfig/phosphor-logging.conf', |
| 12 | 'busconfig/phosphor-rsyslog-config.conf', |
| 13 | install_dir: get_option('datadir') / 'dbus-1' / 'system.d', |
Anton D. Kachalov | 271408b | 2021-03-30 13:29:00 +0200 | [diff] [blame] | 14 | ) |
Andrew Geissler | 92ae483 | 2023-01-20 10:21:00 -0700 | [diff] [blame] | 15 | |
| 16 | dbus_system_bus_services_dir = dependency('dbus-1').get_variable( |
Patrick Williams | ff5f42f | 2023-04-12 08:01:04 -0500 | [diff] [blame] | 17 | 'system_bus_services_dir', |
Andrew Geissler | 92ae483 | 2023-01-20 10:21:00 -0700 | [diff] [blame] | 18 | pkgconfig_define: ['prefix', get_option('prefix')]) |
| 19 | install_data( |
| 20 | 'dbus/xyz.openbmc_project.Logging.service', |
| 21 | install_dir: dbus_system_bus_services_dir) |