op-proc-control: install error yaml files

Copy the yaml to the place where phosphor-logging
looks for them during the build.

Change-Id: I3413937a7920c7540794e3f39f3642e0876a9f8f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/common/recipes-phosphor/host/op-proc-control-error-native.bb b/common/recipes-phosphor/host/op-proc-control-error-native.bb
new file mode 100644
index 0000000..c9a24cd
--- /dev/null
+++ b/common/recipes-phosphor/host/op-proc-control-error-native.bb
@@ -0,0 +1,17 @@
+SUMMARY = "Copy error yaml files to known path for elog parsing"
+PR = "r1"
+
+inherit native
+inherit obmc-phosphor-license
+inherit phosphor-dbus-yaml
+
+require op-proc-control.inc
+
+S = "${WORKDIR}/git"
+
+do_install_append() {
+    SRC=${S}/org/open_power/Proc
+    DEST=${yaml_dir}/org/open_power/Proc
+    install -d ${DEST}
+    install ${SRC}/*.yaml ${DEST}
+}