debug-collector: modifying the yaml path

Change-Id: I8152162aebd246776002776ce0bb79783726ae84
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
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
index a79f172..db103a8 100644
--- 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
@@ -4,7 +4,7 @@
 
 inherit native
 inherit obmc-phosphor-license
-inherit phosphor-logging
+inherit phosphor-dbus-yaml
 
 PROVIDES += "openpower-debug-collector-error-native"
 require openpower-debug-collector.inc
@@ -13,7 +13,7 @@
 
 do_install_append() {
     SRC=${S}/org/open_power
-    DEST=${error_yaml_dir}/org/open_power
+    DEST=${yaml_dir}/org/open_power
     install -d ${DEST}
     install ${SRC}/Host.errors.yaml ${DEST}
 }