From 06f97e49023ce54c7cd42a44ebe286d887a8e1d8 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Mon, 27 Jul 2020 16:30:21 -0500 Subject: 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. (From meta-ibm rev: 1a247b7c27ec3021bf7396874d34844ca2e6b033) Signed-off-by: Matt Spinler Change-Id: Ia23a2fb72acfc1e4473d3c47ad78e34b37529f34 Signed-off-by: Andrew Geissler --- .../dump/phosphor-debug-collector/plugins.d/pels | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-ibm/recipes-phosphor/dump/phosphor-debug-collector/plugins.d/pels (limited to 'meta-ibm/recipes-phosphor/dump/phosphor-debug-collector/plugins.d/pels') diff --git a/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector/plugins.d/pels b/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector/plugins.d/pels new file mode 100644 index 000000000..2ad4ab0ea --- /dev/null +++ b/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector/plugins.d/pels @@ -0,0 +1,14 @@ +#!/bin/bash +# +# config: 23 20 +# +# 23 = User dump(2), elog dump(3) +# 20 = priority + +# @brief: Collect the PEL files + +. $DREPORT_INCLUDE/functions + +dir="/var/lib/phosphor-logging/extensions/pels/logs" +desc="PEL Files" +add_copy_file "$dir" "$desc" -- cgit v1.2.3