Lei YU | 617c0b7 | 2020-02-10 16:11:47 +0800 | [diff] [blame] | 1 | unit_files = [ |
2 | 'xyz.openbmc_project.Software.Psu.Updater.service', | ||||
3 | 'psu-update@.service' | ||||
4 | ] | ||||
5 | |||||
George Liu | c441915 | 2023-08-16 15:47:43 +0800 | [diff] [blame] | 6 | fs = import('fs') |
Lei YU | 617c0b7 | 2020-02-10 16:11:47 +0800 | [diff] [blame] | 7 | foreach unit : unit_files |
George Liu | c441915 | 2023-08-16 15:47:43 +0800 | [diff] [blame] | 8 | fs.copyfile( |
9 | unit, | ||||
10 | install: true, | ||||
11 | install_dir: servicedir | ||||
12 | ) | ||||
Lei YU | 617c0b7 | 2020-02-10 16:11:47 +0800 | [diff] [blame] | 13 | endforeach |