blob: aad5d15011885db3e8f868554f041ff477e73d19 [file] [log] [blame]
Andrew Geisslerc1011572020-01-27 15:09:50 -06001unit_files = [
Andrew Geissler73d2ac92022-02-17 16:55:50 -06002 'obmc-bmc-service-quiesce@.target',
Nodeman979e0416f2022-06-08 16:25:06 -05003 'obmc-chassis-blackout@.target',
Andrew Geisslerc1011572020-01-27 15:09:50 -06004 'obmc-chassis-hard-poweroff@.target',
5 'obmc-chassis-powered-off@.target',
6 'obmc-chassis-poweroff@.target',
7 'obmc-chassis-poweron@.target',
8 'obmc-chassis-powerreset@.target',
DelphineCCChiu06881322022-11-09 08:41:25 +08009 'obmc-chassis-powercycle@.target',
Andrew Geisslerc1011572020-01-27 15:09:50 -060010 'obmc-fan-control-ready@.target',
11 'obmc-fan-control.target',
12 'obmc-fan-watchdog-takeover.target',
13 'obmc-fans-ready.target',
14 'obmc-host-crash@.target',
Andrew Geissler347a8552020-02-10 11:13:27 -060015 'obmc-host-diagnostic-mode@.target',
Andrew Geisslerd1c1c4d2020-01-29 15:42:51 -060016 'obmc-host-force-warm-reboot@.target',
Andrew Geissleraaa8d342022-04-15 12:53:40 -050017 'obmc-host-graceful-quiesce@.target',
Andrew Geisslerc1011572020-01-27 15:09:50 -060018 'obmc-host-quiesce@.target',
19 'obmc-host-reboot@.target',
20 'obmc-host-reset-running@.target',
21 'obmc-host-reset@.target',
22 'obmc-host-shutdown@.target',
23 'obmc-host-start-pre@.target',
24 'obmc-host-start@.target',
25 'obmc-host-started@.target',
26 'obmc-host-starting@.target',
27 'obmc-host-startmin@.target',
28 'obmc-host-stop-pre@.target',
29 'obmc-host-stop@.target',
30 'obmc-host-stopped@.target',
31 'obmc-host-stopping@.target',
32 'obmc-host-timeout@.target',
Andrew Geisslerd1c1c4d2020-01-29 15:42:51 -060033 'obmc-host-warm-reboot@.target',
Andrew Geisslerc1011572020-01-27 15:09:50 -060034 'obmc-power-off@.target',
35 'obmc-power-on@.target',
36 'obmc-power-reset-on@.target',
37 'obmc-power-start-pre@.target',
38 'obmc-power-start@.target',
39 'obmc-power-stop-pre@.target',
40 'obmc-power-stop@.target',
41]
42
43foreach u : unit_files
44 configure_file(
45 copy: true,
46 input: u,
47 install: true,
48 install_dir: systemd_system_unit_dir,
49 output: u,
50 )
51endforeach