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] 18 19foreach u : unit_files 20 configure_file( 21 copy: true, 22 input: u, 23 install: true, 24 install_dir: systemd_system_unit_dir, 25 output: u, 26 ) 27endforeach 28