summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorMichael Tritz <mtritz@us.ibm.com>2017-01-25 15:16:04 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-02-01 14:39:45 +0000
commit532b313fbf7f94d22e9369946916fde2d6363892 (patch)
tree7c9491acffc2c40f7ff8e5b9cf7cbf87f4742ffb /meta-phosphor
parent5e5940df91892de700ab2ac99accdda0575eff84 (diff)
downloadtalos-openbmc-532b313fbf7f94d22e9369946916fde2d6363892.tar.gz
talos-openbmc-532b313fbf7f94d22e9369946916fde2d6363892.zip
Initial recipe for FFDC tarball script
Delivers a command line tool for collection of debug data. Change-Id: I37862b2b100e7fb3445447bd1a7ebc5884813eec Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/logging/ffdc.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/logging/ffdc.bb b/meta-phosphor/common/recipes-phosphor/logging/ffdc.bb
new file mode 100644
index 000000000..816073b7e
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/logging/ffdc.bb
@@ -0,0 +1,22 @@
+SUMMARY = "FFDC collector script"
+DESCRIPTION = "Command line tool to collect and tar up debug data"
+PR = "r1"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=<checksum>"
+
+RDEPENDS_${PN} += " \
+ systemd \
+ ${VIRTUAL-RUNTIME_base-utils} \
+ "
+
+S = "${WORKDIR}"
+SRC_URI += "git://github.com/openbmc/phosphor-debug-collector/"
+
+SRCREV = "3e3f28b4fbeada4b3f254d1b2d836c5fcb0bc28f"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ffdc \
+ ${D}${bindir}/ffdc
+}
OpenPOWER on IntegriCloud