Lei YU | 617c0b7 | 2020-02-10 16:11:47 +0800 | [diff] [blame] | 1 | unit_files = [ |
2 | 'xyz.openbmc_project.Software.Psu.Updater.service', | ||||
Patrick Williams | 8a08ac1 | 2025-02-01 08:37:15 -0500 | [diff] [blame^] | 3 | 'psu-update@.service', |
Lei YU | 617c0b7 | 2020-02-10 16:11:47 +0800 | [diff] [blame] | 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 |
Patrick Williams | 8a08ac1 | 2025-02-01 08:37:15 -0500 | [diff] [blame^] | 8 | fs.copyfile(unit, install: true, install_dir: servicedir) |
Lei YU | 617c0b7 | 2020-02-10 16:11:47 +0800 | [diff] [blame] | 9 | endforeach |