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