blob: d6222688f10eaf5a920a0ad21301c9e618b2b0a0 [file] [log] [blame]
unit_files = [
'phosphor-systemd-target-monitor.service',
'phosphor-discover-system-state@.service',
'obmc-power-start@.service',
'obmc-power-stop@.service',
'obmc-powered-off@.service',
'phosphor-reboot-host@.service',
'phosphor-reset-chassis-on@.service',
'phosphor-reset-chassis-running@.service',
'phosphor-reset-host-reboot-attempts@.service',
'phosphor-reset-host-recovery@.service',
'phosphor-reset-host-running@.service',
'phosphor-reset-sensor-states@.service',
'xyz.openbmc_project.State.BMC.service',
'xyz.openbmc_project.State.Chassis@.service',
'xyz.openbmc_project.State.Host@.service',
'xyz.openbmc_project.State.Hypervisor.service',
'xyz.openbmc_project.State.ScheduledHostTransition@.service',
'phosphor-clear-one-time@.service',
'phosphor-set-host-transition-to-off@.service',
'phosphor-set-host-transition-to-running@.service',
'phosphor-chassis-check-power-status@.service',
'phosphor-bmc-security-check.service',
'phosphor-create-chassis-poweron-log@.service',
'phosphor-set-chassis-transition-to-on@.service',
'phosphor-set-chassis-transition-to-off@.service'
]
fs = import('fs')
foreach u : unit_files
fs.copyfile(
u,
install: true,
install_dir: systemd_system_unit_dir
)
endforeach