blob: 31b197493b1bd31c02eab81fa8cf8a037acd8eeb [file] [log] [blame]
Andrew Geissler179d38c2019-12-10 15:05:23 -06001unit_files = [
2 'phosphor-systemd-target-monitor.service',
Andrew Geisslerc2123532020-01-14 10:39:47 -06003 'phosphor-discover-system-state@.service',
4 'phosphor-reboot-host@.service',
5 'phosphor-reset-host-check@.service',
6 'phosphor-reset-host-reboot-attempts@.service',
7 'phosphor-reset-host-running@.service',
8 'phosphor-reset-sensor-states@.service',
9 'xyz.openbmc_project.State.BMC.service',
10 'xyz.openbmc_project.State.Chassis.service',
Carol Wangf3048202020-03-11 17:53:52 +080011 'xyz.openbmc_project.State.Host.service',
Andrew Geisslerfe270d32021-01-27 14:06:46 -060012 'xyz.openbmc_project.State.Hypervisor.service',
Andrew Geisslerd9b527b2020-10-23 09:45:41 -050013 'xyz.openbmc_project.State.ScheduledHostTransition.service',
Andrew Geissler1e8b1642021-01-05 15:00:25 -060014 'phosphor-clear-one-time@.service',
15 'phosphor-set-host-transition-to-off@.service',
16 'phosphor-set-host-transition-to-running@.service'
Andrew Geissler179d38c2019-12-10 15:05:23 -060017]
18
19foreach u : unit_files
20 configure_file(
21 copy: true,
22 input: u,
23 install: true,
24 install_dir: systemd_system_unit_dir,
25 output: u,
26 )
27endforeach