oem_ibm: Move the NVRAM files to the hostfw directory
This commit would :
- Move the NVRAM files from /var/ on the BMC to the hostfw directory so
that they don't get erased during a BMC factory reset.
- To help migrate existing systems, check if the files exist in /var/,
and if they do, move them to the hostfw destination.
- This also adds dependent services that ensure that the links being
setup correctly in var/lib/phosphor-software-manager/hostfw/ is run
first.
- The services to clear PHYP NVRAM are not needed anymore. Instead of
the BMC clearing them, the hypervisor will now clear them if the
pvm_clear_nvram bios attribute is set.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: If8da88347a82d212b30c3cb6354037b62887c67c
diff --git a/oem/ibm/service_files/meson.build b/oem/ibm/service_files/meson.build
index fdc7b01..96c3b07 100644
--- a/oem/ibm/service_files/meson.build
+++ b/oem/ibm/service_files/meson.build
@@ -1,3 +1,5 @@
+subdir('scripts')
+
configure_file(
copy: true,
input: 'pldm-create-phyp-nvram.service',
@@ -12,18 +14,3 @@
install_dir: systemd_system_unit_dir,
output: 'pldm-create-phyp-nvram-cksum.service',
)
-configure_file(
- copy: true,
- input: 'pldm-reset-phyp-nvram.service',
- install: true,
- install_dir: systemd_system_unit_dir,
- output: 'pldm-reset-phyp-nvram.service',
-)
-configure_file(
- copy: true,
- input: 'pldm-reset-phyp-nvram-cksum.service',
- install: true,
- install_dir: systemd_system_unit_dir,
- output: 'pldm-reset-phyp-nvram-cksum.service',
-)
-