Faultlog: Add support to install Faultlog
Add faultlog to bmcdump plugins and include faultlog in dreport_op.conf
which shall install the plugin from meta-ibm layer in openbmc repo
and creates sym-link.
Test Results:
Verified that openpower-debug-collector recipe installs faultlog script
sysroot-destdir$ ls usr/share/dreport.d/pl_faultdata.d
E10faultlog
Change-Id: I46ece91a04d4d40a3bd72771d6fea11468e5e403
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
diff --git a/dump/tools/common/include/opfunctions b/dump/tools/common/include/opfunctions
index 444fe7c..5b6acda 100644
--- a/dump/tools/common/include/opfunctions
+++ b/dump/tools/common/include/opfunctions
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+declare -rx TYPE_FAULTDATA="faultdata"
+
# @brief fetch serial number
# @param serial number
function fetch_serial_number() {