meta-ibm: collect PEL files during a dump
This collects all of the PEL files on user and elog dumps.
They will show up in a subdirectory named 'logs' in the dump.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ieac53baa4d6e4e7f556c4ac0caa06f533c928039
diff --git a/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend b/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend
index 19dcdca..91ef83e 100644
--- a/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend
+++ b/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend
@@ -4,10 +4,12 @@
PACKAGECONFIG_append_witherspoon-tacoma = " host-dump-offload-pldm"
SRC_URI += "file://plugins.d/ibm_elogall"
+SRC_URI += "file://plugins.d/pels"
install_ibm_plugins() {
install -m 0755 ${WORKDIR}/plugins.d/ibm_elogall ${D}${dreport_plugin_dir}
+ install -m 0755 ${WORKDIR}/plugins.d/pels ${D}${dreport_plugin_dir}
}
@@ -17,6 +19,9 @@
workdir = d.getVar('WORKDIR', True)
script = os.path.join(workdir, 'plugins.d', 'ibm_elogall')
install_dreport_user_script(script, d)
+
+ script = os.path.join(workdir, 'plugins.d', 'pels')
+ install_dreport_user_script(script, d)
}
do_install[postfuncs] += "install_ibm_plugins"