1unit_files = [ 2 'phosphor-systemd-target-monitor.service', 3 'phosphor-discover-system-state@.service', 4 'phosphor-reboot-host@.service', 5 'phosphor-reset-host-reboot-attempts@.service', 6 'phosphor-reset-host-recovery@.service', 7 'phosphor-reset-host-running@.service', 8 'phosphor-reset-sensor-states@.service', 9 'xyz.openbmc_project.State.BMC.service', 10 'xyz.openbmc_project.State.Chassis@.service', 11 'xyz.openbmc_project.State.Host@.service', 12 'xyz.openbmc_project.State.Hypervisor.service', 13 'xyz.openbmc_project.State.ScheduledHostTransition.service', 14 'phosphor-clear-one-time@.service', 15 'phosphor-set-host-transition-to-off@.service', 16 'phosphor-set-host-transition-to-running@.service', 17 'phosphor-chassis-check-power-status@.service' 18] 19 20foreach u : unit_files 21 configure_file( 22 copy: true, 23 input: u, 24 install: true, 25 install_dir: systemd_system_unit_dir, 26 output: u, 27 ) 28endforeach 29