meta-openpower: ipmi-oem-error-native: rename as git
Rename openpower-ipmi-oem-error-native.bb as git per OE norms.
Change-Id: Ibce0af1209dfa8175d4b1c9d83c1564334a2c693
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/recipes-phosphor/ipmi/openpower-ipmi-oem-error-native_git.bb b/recipes-phosphor/ipmi/openpower-ipmi-oem-error-native_git.bb
new file mode 100644
index 0000000..082ffc8
--- /dev/null
+++ b/recipes-phosphor/ipmi/openpower-ipmi-oem-error-native_git.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Copy error yaml files to known path for elog parsing"
+
+PR = "r1"
+PV = "1.0+git${SRCPV}"
+
+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=${D}${yaml_dir}/org/open_power/OCC
+ install -d ${DEST}
+ install ${SRC}/Metrics.errors.yaml ${DEST}
+ install ${SRC}/Metrics.metadata.yaml ${DEST}
+}