1c101157eSAndrew Geisslerunit_files = [ 273d2ac96SAndrew Geissler 'obmc-bmc-service-quiesce@.target', 39e0416f4SNodeman97 'obmc-chassis-blackout@.target', 4c101157eSAndrew Geissler 'obmc-chassis-hard-poweroff@.target', 5c101157eSAndrew Geissler 'obmc-chassis-powered-off@.target', 6c101157eSAndrew Geissler 'obmc-chassis-poweroff@.target', 7c101157eSAndrew Geissler 'obmc-chassis-poweron@.target', 8c101157eSAndrew Geissler 'obmc-chassis-powerreset@.target', 90688132aSDelphineCCChiu 'obmc-chassis-powercycle@.target', 10c101157eSAndrew Geissler 'obmc-fan-control-ready@.target', 11c101157eSAndrew Geissler 'obmc-fan-control.target', 12c101157eSAndrew Geissler 'obmc-fan-watchdog-takeover.target', 13c101157eSAndrew Geissler 'obmc-fans-ready.target', 14c101157eSAndrew Geissler 'obmc-host-crash@.target', 15347a855dSAndrew Geissler 'obmc-host-diagnostic-mode@.target', 16d1c1c4d1SAndrew Geissler 'obmc-host-force-warm-reboot@.target', 17aaa8d346SAndrew Geissler 'obmc-host-graceful-quiesce@.target', 18c101157eSAndrew Geissler 'obmc-host-quiesce@.target', 19c101157eSAndrew Geissler 'obmc-host-reboot@.target', 20c101157eSAndrew Geissler 'obmc-host-reset-running@.target', 21c101157eSAndrew Geissler 'obmc-host-reset@.target', 22c101157eSAndrew Geissler 'obmc-host-shutdown@.target', 23c101157eSAndrew Geissler 'obmc-host-start-pre@.target', 24c101157eSAndrew Geissler 'obmc-host-start@.target', 25c101157eSAndrew Geissler 'obmc-host-started@.target', 26c101157eSAndrew Geissler 'obmc-host-starting@.target', 27c101157eSAndrew Geissler 'obmc-host-startmin@.target', 28c101157eSAndrew Geissler 'obmc-host-stop-pre@.target', 29c101157eSAndrew Geissler 'obmc-host-stop@.target', 30c101157eSAndrew Geissler 'obmc-host-stopped@.target', 31c101157eSAndrew Geissler 'obmc-host-stopping@.target', 32c101157eSAndrew Geissler 'obmc-host-timeout@.target', 33d1c1c4d1SAndrew Geissler 'obmc-host-warm-reboot@.target', 34c101157eSAndrew Geissler 'obmc-power-off@.target', 35c101157eSAndrew Geissler 'obmc-power-on@.target', 36c101157eSAndrew Geissler 'obmc-power-reset-on@.target', 37c101157eSAndrew Geissler 'obmc-power-start-pre@.target', 38c101157eSAndrew Geissler 'obmc-power-start@.target', 39c101157eSAndrew Geissler 'obmc-power-stop-pre@.target', 40c101157eSAndrew Geissler 'obmc-power-stop@.target', 41c101157eSAndrew Geissler] 42c101157eSAndrew Geissler 43db8feba1SGeorge Liufs = import('fs') 44c101157eSAndrew Geisslerforeach u : unit_files 45*71e399d4SPatrick Williams fs.copyfile(u, install: true, install_dir: systemd_system_unit_dir) 46c101157eSAndrew Geisslerendforeach 47