blob: f6ff41ac0df2ae7d8003acb76f58cc2eeb95db4e [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',
Andrew Geisslerc2123532020-01-14 10:39:47 -06005 'phosphor-reset-host-reboot-attempts@.service',
Andrew Geissler5f8e04a2021-08-12 15:51:41 -04006 'phosphor-reset-host-recovery@.service',
Andrew Geisslerc2123532020-01-14 10:39:47 -06007 'phosphor-reset-host-running@.service',
8 'phosphor-reset-sensor-states@.service',
9 'xyz.openbmc_project.State.BMC.service',
Potin Lai70f36d82022-03-15 10:25:39 +080010 'xyz.openbmc_project.State.Chassis@.service',
Allen.Wang79b45002022-02-10 17:59:20 +080011 'xyz.openbmc_project.State.Host@.service',
Andrew Geisslerfe270d32021-01-27 14:06:46 -060012 'xyz.openbmc_project.State.Hypervisor.service',
Patrick Williams211d9722022-04-07 21:24:33 -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',
Andrew Geissler378fe112022-02-03 16:39:44 -060016 'phosphor-set-host-transition-to-running@.service',
17 'phosphor-chassis-check-power-status@.service'
Andrew Geissler179d38c2019-12-10 15:05:23 -060018]
19
20foreach u : unit_files
21 configure_file(
22 copy: true,
23 input: u,
24 install: true,
25 install_dir: systemd_system_unit_dir,
26 output: u,
27 )
28endforeach