From b6e5cb092da59fdc0fd6f4ca9deba053db7a0524 Mon Sep 17 00:00:00 2001 From: Marri Devender Rao Date: Wed, 11 Oct 2017 02:22:46 -0500 Subject: Enable support for usecase specific bash script invocation Resolves openbmc/openbmc#2037 Install dreport, dreport.conf, plugins Parse the scripts to fetch config value Create user directories based on config value with softlinks to the plugins Change-Id: If1bdefca362a282132364306b26eecb4b7003390 Signed-off-by: Marri Devender Rao --- meta-phosphor/classes/phosphor-debug-collector.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-phosphor/classes') diff --git a/meta-phosphor/classes/phosphor-debug-collector.bbclass b/meta-phosphor/classes/phosphor-debug-collector.bbclass index 2a2a3a415..d5d49a2db 100644 --- a/meta-phosphor/classes/phosphor-debug-collector.bbclass +++ b/meta-phosphor/classes/phosphor-debug-collector.bbclass @@ -1 +1,5 @@ bmc_dump_path="/var/lib/phosphor-debug-collector/dumps" +dreport_plugin_dir = "${datadir}/dreport.d/plugins.d" +dreport_include_dir = "${datadir}/dreport.d/include.d" +dreport_conf_dir = "${datadir}/dreport.d/conf.d" +dreport_dir = "${datadir}/dreport.d/" -- cgit v1.2.3