use fs.copyfile instead of deprecated copy
copy arg in configure_file API is deprecated since meson
version 0.64.0. As we moved to meson version 1.1.1 we can
leverage the filesystem module copyfile() to achive the
same result.
Change-Id: I8ec540a505060306ff643a153cb2ca1b1ca4d35e
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/oem/ibm/service_files/meson.build b/oem/ibm/service_files/meson.build
index 96c3b07..c0f0314 100644
--- a/oem/ibm/service_files/meson.build
+++ b/oem/ibm/service_files/meson.build
@@ -1,16 +1,12 @@
subdir('scripts')
-configure_file(
- copy: true,
- input: 'pldm-create-phyp-nvram.service',
+filesystem.copyfile(
+ 'pldm-create-phyp-nvram.service',
install: true,
- install_dir: systemd_system_unit_dir,
- output: 'pldm-create-phyp-nvram.service',
+ install_dir: systemd_system_unit_dir
)
-configure_file(
- copy: true,
- input: 'pldm-create-phyp-nvram-cksum.service',
+filesystem.copyfile(
+ 'pldm-create-phyp-nvram-cksum.service',
install: true,
install_dir: systemd_system_unit_dir,
- output: 'pldm-create-phyp-nvram-cksum.service',
)