PHAL: set PDATA_INFODB value for phal-export-devtree app
PDATA recipe removed systemd global settings related to
PDATA_INFODB environment value. This commit enables the
application level support for the same.
Tested: verified manually in runtime codeupdate path.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I51b09362a9fe8742a8b00cf56ae7b8c792fd54e1
diff --git a/extensions/phal/fw_update_watch.cpp b/extensions/phal/fw_update_watch.cpp
index edaa7a6..2c6f813 100644
--- a/extensions/phal/fw_update_watch.cpp
+++ b/extensions/phal/fw_update_watch.cpp
@@ -137,6 +137,9 @@
// Update PDBG_DTB value
openpower::phal::setDevtreeEnv();
+ // Update PDATA_INFODB value
+ openpower::phal::setPdataInfoDBEnv();
+
int status = 0;
pid_t pid = fork();
if (pid == 0)