Anton D. Kachalov | 271408b | 2021-03-30 13:29:00 +0200 | [diff] [blame] | 1 | systemd_system_unit_dir = dependency('systemd').get_pkgconfig_variable( |
| 2 | 'systemdsystemunitdir', |
| 3 | define_variable: ['prefix', get_option('prefix')]) |
| 4 | |
| 5 | install_data( |
| 6 | ['xyz.openbmc_project.Logging.service', |
| 7 | 'xyz.openbmc_project.Syslog.Config.service'], |
| 8 | install_dir: systemd_system_unit_dir |
| 9 | ) |
| 10 | |
| 11 | install_data( |
| 12 | ['busconfig/phosphor-logging.conf', |
| 13 | 'busconfig/phosphor-rsyslog-config.conf'], |
| 14 | install_dir: get_option('sysconfdir') / 'dbus-1/system.d' |
| 15 | ) |