summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector-error-native.bb19
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/phosphor-logging-error-logs-native.bbappend1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector-error-native.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector-error-native.bb
new file mode 100644
index 000000000..a79f17264
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector-error-native.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Copy error yaml files to known path for elog parsing"
+
+PR = "r1"
+
+inherit native
+inherit obmc-phosphor-license
+inherit phosphor-logging
+
+PROVIDES += "openpower-debug-collector-error-native"
+require openpower-debug-collector.inc
+
+S = "${WORKDIR}/git"
+
+do_install_append() {
+ SRC=${S}/org/open_power
+ DEST=${error_yaml_dir}/org/open_power
+ install -d ${DEST}
+ install ${SRC}/Host.errors.yaml ${DEST}
+}
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/phosphor-logging-error-logs-native.bbappend b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/phosphor-logging-error-logs-native.bbappend
new file mode 100644
index 000000000..0fe3545f1
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/phosphor-logging-error-logs-native.bbappend
@@ -0,0 +1 @@
+DEPENDS += "openpower-debug-collector-error-native"
OpenPOWER on IntegriCloud