Andrew Geissler | c101157 | 2020-01-27 15:09:50 -0600 | [diff] [blame] | 1 | unit_files = [ |
| 2 | 'obmc-chassis-hard-poweroff@.target', |
| 3 | 'obmc-chassis-powered-off@.target', |
| 4 | 'obmc-chassis-poweroff@.target', |
| 5 | 'obmc-chassis-poweron@.target', |
| 6 | 'obmc-chassis-powerreset@.target', |
| 7 | 'obmc-fan-control-ready@.target', |
| 8 | 'obmc-fan-control.target', |
| 9 | 'obmc-fan-watchdog-takeover.target', |
| 10 | 'obmc-fans-ready.target', |
| 11 | 'obmc-host-crash@.target', |
Andrew Geissler | d1c1c4d | 2020-01-29 15:42:51 -0600 | [diff] [blame^] | 12 | 'obmc-host-force-warm-reboot@.target', |
Andrew Geissler | c101157 | 2020-01-27 15:09:50 -0600 | [diff] [blame] | 13 | 'obmc-host-quiesce@.target', |
| 14 | 'obmc-host-reboot@.target', |
| 15 | 'obmc-host-reset-running@.target', |
| 16 | 'obmc-host-reset@.target', |
| 17 | 'obmc-host-shutdown@.target', |
| 18 | 'obmc-host-start-pre@.target', |
| 19 | 'obmc-host-start@.target', |
| 20 | 'obmc-host-started@.target', |
| 21 | 'obmc-host-starting@.target', |
| 22 | 'obmc-host-startmin@.target', |
| 23 | 'obmc-host-stop-pre@.target', |
| 24 | 'obmc-host-stop@.target', |
| 25 | 'obmc-host-stopped@.target', |
| 26 | 'obmc-host-stopping@.target', |
| 27 | 'obmc-host-timeout@.target', |
Andrew Geissler | d1c1c4d | 2020-01-29 15:42:51 -0600 | [diff] [blame^] | 28 | 'obmc-host-warm-reboot@.target', |
Andrew Geissler | c101157 | 2020-01-27 15:09:50 -0600 | [diff] [blame] | 29 | 'obmc-mapper.target', |
| 30 | 'obmc-power-off@.target', |
| 31 | 'obmc-power-on@.target', |
| 32 | 'obmc-power-reset-on@.target', |
| 33 | 'obmc-power-start-pre@.target', |
| 34 | 'obmc-power-start@.target', |
| 35 | 'obmc-power-stop-pre@.target', |
| 36 | 'obmc-power-stop@.target', |
| 37 | ] |
| 38 | |
| 39 | foreach u : unit_files |
| 40 | configure_file( |
| 41 | copy: true, |
| 42 | input: u, |
| 43 | install: true, |
| 44 | install_dir: systemd_system_unit_dir, |
| 45 | output: u, |
| 46 | ) |
| 47 | endforeach |