diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-10-17 23:05:57 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2017-10-26 23:07:12 +0530 |
commit | 7e4bc5b6105eee514b425490ce4be76b76017367 (patch) | |
tree | 2208added31fb531361065d048ff18267787ad99 | |
parent | 464b90a31f8441aa598af8a970b6564aa4cae48b (diff) | |
download | talos-openbmc-7e4bc5b6105eee514b425490ce4be76b76017367.tar.gz talos-openbmc-7e4bc5b6105eee514b425490ce4be76b76017367.zip |
Copy the error yaml's for logging manager parsing
Resolves openbmc/openbmc#2380
Change-Id: I9eb6a203e030d0e11141df2dcf099d9d23b9ebf1
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-error-native.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-error-native.bb new file mode 100644 index 000000000..837d8b256 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/openpower-ipmi-oem-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-dbus-yaml + +require openpower-ipmi-oem.inc + +S = "${WORKDIR}/git" + +do_install_append() { + SRC=${S}/org/open_power/OCC + DEST=${yaml_dir}/org/open_power/OCC + install -d ${DEST} + install ${SRC}/Metrics.errors.yaml ${DEST} + install ${SRC}/Metrics.metadata.yaml ${DEST} +} diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/phosphor-logging-error-logs-native.bbappend b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/phosphor-logging-error-logs-native.bbappend new file mode 100644 index 000000000..d189eb0f4 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/phosphor-logging-error-logs-native.bbappend @@ -0,0 +1 @@ +DEPENDS += "openpower-ipmi-oem-error-native" |