blob: 3523127e89c8917c5cb318f9148cc8f3430357e1 [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',
Andrew Geisslerc1011572020-01-27 15:09:50 -06003 'obmc-chassis-hard-poweroff@.target',
4 'obmc-chassis-powered-off@.target',
5 'obmc-chassis-poweroff@.target',
6 'obmc-chassis-poweron@.target',
7 'obmc-chassis-powerreset@.target',
8 'obmc-fan-control-ready@.target',
9 'obmc-fan-control.target',
10 'obmc-fan-watchdog-takeover.target',
11 'obmc-fans-ready.target',
12 'obmc-host-crash@.target',
Andrew Geissler347a8552020-02-10 11:13:27 -060013 'obmc-host-diagnostic-mode@.target',
Andrew Geisslerd1c1c4d2020-01-29 15:42:51 -060014 'obmc-host-force-warm-reboot@.target',
Andrew Geisslerc1011572020-01-27 15:09:50 -060015 'obmc-host-quiesce@.target',
16 'obmc-host-reboot@.target',
17 'obmc-host-reset-running@.target',
18 'obmc-host-reset@.target',
19 'obmc-host-shutdown@.target',
20 'obmc-host-start-pre@.target',
21 'obmc-host-start@.target',
22 'obmc-host-started@.target',
23 'obmc-host-starting@.target',
24 'obmc-host-startmin@.target',
25 'obmc-host-stop-pre@.target',
26 'obmc-host-stop@.target',
27 'obmc-host-stopped@.target',
28 'obmc-host-stopping@.target',
29 'obmc-host-timeout@.target',
Andrew Geisslerd1c1c4d2020-01-29 15:42:51 -060030 'obmc-host-warm-reboot@.target',
Andrew Geisslerc1011572020-01-27 15:09:50 -060031 'obmc-power-off@.target',
32 'obmc-power-on@.target',
33 'obmc-power-reset-on@.target',
34 'obmc-power-start-pre@.target',
35 'obmc-power-start@.target',
36 'obmc-power-stop-pre@.target',
37 'obmc-power-stop@.target',
38]
39
40foreach u : unit_files
41 configure_file(
42 copy: true,
43 input: u,
44 install: true,
45 install_dir: systemd_system_unit_dir,
46 output: u,
47 )
48endforeach