From 5035fcf95767a51c7ff3f72bfd75813458099129 Mon Sep 17 00:00:00 2001 From: Marri Devender Rao Date: Wed, 21 Nov 2018 06:30:36 -0600 Subject: phosphor-debug-collector: Phosphor Pass errors to watch through YAML file Refactored code to pass error objects to watch through YAML file Dump will be created when an error object created matches the error object path specified in the YAML file. (From meta-phosphor rev: ae622549f4947084e549ec5cfc40f88daa5c4ae6) Change-Id: I9eb1c53ee4e1580d903e1004009d7595fb7811a6 Signed-off-by: Marri Devender Rao Signed-off-by: Brad Bishop --- .../dump/phosphor-debug-errors-native.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-phosphor/recipes-phosphor/dump/phosphor-debug-errors-native.bb (limited to 'meta-phosphor/recipes-phosphor/dump/phosphor-debug-errors-native.bb') diff --git a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-errors-native.bb b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-errors-native.bb new file mode 100644 index 000000000..7a6870c5d --- /dev/null +++ b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-errors-native.bb @@ -0,0 +1,19 @@ +SUMMARY = "Debug collector error watch config file" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit native + +SRC_URI += "file://errors_watch.yaml" + +PROVIDES += "virtual/phosphor-debug-errors" + +S = "${WORKDIR}" + +do_install_append() { + DEST=${D}${datadir}/dump + install -d ${DEST} + install errors_watch.yaml ${DEST}/ +} + -- cgit v1.2.3