oem-ibm: inband: Add assembleCodeUpdateImage()
The assembleCodeUpdateImage will build the final tarball out of the
BMC and hostfw image files and copy it to the update directory
to trigger a software version interface to be created.
Change-Id: I7dd100e46c34c941fd574047551ddc5fee8c387b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/oem/ibm/libpldmresponder/inband_code_update.hpp b/oem/ibm/libpldmresponder/inband_code_update.hpp
index aad58e1..048f4d1 100644
--- a/oem/ibm/libpldmresponder/inband_code_update.hpp
+++ b/oem/ibm/libpldmresponder/inband_code_update.hpp
@@ -149,5 +149,12 @@
* @return - PLDM_SUCCESS codes
*/
int processCodeUpdateLid(const std::string& filePath);
+
+/** @brief Method to assemble the code update tarball and trigger the
+ * phosphor software manager to create a version interface
+ * @return - PLDM_SUCCESS codes
+ */
+int assembleCodeUpdateImage();
+
} // namespace responder
} // namespace pldm