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', 24afe12d69SAndrew Geissler 'phosphor-create-chassis-poweron-log@.service' 25179d38c2SAndrew Geissler] 26179d38c2SAndrew Geissler 27*db8feba1SGeorge Liufs = import('fs') 28179d38c2SAndrew Geisslerforeach u : unit_files 29*db8feba1SGeorge Liu fs.copyfile( 30*db8feba1SGeorge Liu u, 31179d38c2SAndrew Geissler install: true, 32*db8feba1SGeorge Liu install_dir: systemd_system_unit_dir 33179d38c2SAndrew Geissler ) 34179d38c2SAndrew Geisslerendforeach 35