1179d38c2SAndrew Geisslerunit_files = [ 2179d38c2SAndrew Geissler 'phosphor-systemd-target-monitor.service', 3c212353dSAndrew Geissler 'phosphor-discover-system-state@.service', 486a1ebf9SAndrew Geissler 'obmc-power-start@.service', 586a1ebf9SAndrew Geissler 'obmc-power-stop@.service', 686a1ebf9SAndrew Geissler 'obmc-powered-off@.service', 7c212353dSAndrew Geissler 'phosphor-reboot-host@.service', 886a1ebf9SAndrew Geissler 'phosphor-reset-chassis-on@.service', 986a1ebf9SAndrew Geissler 'phosphor-reset-chassis-running@.service', 10c212353dSAndrew Geissler 'phosphor-reset-host-reboot-attempts@.service', 115f8e04a6SAndrew Geissler 'phosphor-reset-host-recovery@.service', 12c212353dSAndrew Geissler 'phosphor-reset-host-running@.service', 13c212353dSAndrew Geissler 'phosphor-reset-sensor-states@.service', 14c212353dSAndrew Geissler 'xyz.openbmc_project.State.BMC.service', 1570f36d8eSPotin Lai 'xyz.openbmc_project.State.Chassis@.service', 1679b45003SAllen.Wang 'xyz.openbmc_project.State.Host@.service', 17fe270d35SAndrew Geissler 'xyz.openbmc_project.State.Hypervisor.service', 18211d972dSPatrick Williams 'xyz.openbmc_project.State.ScheduledHostTransition@.service', 191e8b164fSAndrew Geissler 'phosphor-clear-one-time@.service', 201e8b164fSAndrew Geissler 'phosphor-set-host-transition-to-off@.service', 21378fe11dSAndrew Geissler 'phosphor-set-host-transition-to-running@.service', 221662ba6bSAndrew Geissler 'phosphor-chassis-check-power-status@.service', 23afe12d69SAndrew Geissler 'phosphor-bmc-security-check.service', 24*74d7a552SThang Tran 'phosphor-create-chassis-poweron-log@.service', 25*74d7a552SThang Tran 'phosphor-set-chassis-transition-to-on@.service', 26*74d7a552SThang Tran 'phosphor-set-chassis-transition-to-off@.service' 27179d38c2SAndrew Geissler] 28179d38c2SAndrew Geissler 29db8feba1SGeorge Liufs = import('fs') 30179d38c2SAndrew Geisslerforeach u : unit_files 31db8feba1SGeorge Liu fs.copyfile( 32db8feba1SGeorge Liu u, 33179d38c2SAndrew Geissler install: true, 34db8feba1SGeorge Liu install_dir: systemd_system_unit_dir 35179d38c2SAndrew Geissler ) 36179d38c2SAndrew Geisslerendforeach 37