John Wedig | 2f18734 | 2022-04-20 12:47:03 -0700 | [diff] [blame] | 1 | systemd_dep = dependency('systemd') |
| 2 | |
Patrick Williams | 9c2e836 | 2025-02-01 08:38:10 -0500 | [diff] [blame^] | 3 | systemd_system_unitdir = systemd_dep.get_variable('systemdsystemunitdir') |
John Wedig | 2f18734 | 2022-04-20 12:47:03 -0700 | [diff] [blame] | 4 | |
| 5 | conf_data = configuration_data() |
| 6 | conf_data.set('BINDIR', get_option('prefix') / get_option('bindir')) |
| 7 | |
| 8 | configure_file( |
Patrick Williams | 9c2e836 | 2025-02-01 08:38:10 -0500 | [diff] [blame^] | 9 | configuration: conf_data, |
| 10 | input: 'xyz.openbmc_project.eStoraged.service.in', |
| 11 | output: 'xyz.openbmc_project.eStoraged.service', |
| 12 | install: true, |
| 13 | install_dir: systemd_system_unitdir, |
John Wedig | 2f18734 | 2022-04-20 12:47:03 -0700 | [diff] [blame] | 14 | ) |