PHAL: set PDATA_INFODB value during import devtree
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 by running app.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ic6a9759a1d5c349f5f7cb6666fc3fbc79cb8b1f1
diff --git a/procedures/phal/import_devtree.cpp b/procedures/phal/import_devtree.cpp
index 75f1828..1a18bbe 100644
--- a/procedures/phal/import_devtree.cpp
+++ b/procedures/phal/import_devtree.cpp
@@ -37,6 +37,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)