oem-meta: Add file IO responder for host bios version
Add handler for write-file command "BIOS_VERSION", which is sent
when host's postcode complete triggered, and update the bios version
to settingsd.
Tested: Verified in yosemite4 platform. The BIOS version was recorded
correctly.
Change-Id: I99580e3593cb417f6e350f5f1e7735fccf6e010b
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Signed-off-by: Sora Su <baxiche@gmail.com>
diff --git a/pldmd/pldmd.cpp b/pldmd/pldmd.cpp
index f82a654..52864e8 100644
--- a/pldmd/pldmd.cpp
+++ b/pldmd/pldmd.cpp
@@ -326,7 +326,8 @@
#endif
#ifdef OEM_META
- pldm::oem_meta::OemMETA oemMETA(invoker, platformHandler.get());
+ pldm::oem_meta::OemMETA oemMETA(&dbusHandler, invoker,
+ platformHandler.get());
#endif
#ifdef OEM_IBM