meta-ingrasys: zaius: add zaius-ipmi-sensor-inventory

Add zaius-ipmi-sensor-inventory instead of appending to
phosphor-ipmi-sensor-inventory to not drop the zaius file with another
machine that hasn't set an override.  The other machine will use the
default file supplied by the default provider.

Change-Id: I576c81fd13919c48645ee21437ba00f9c7f9067d
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/meta-zaius/conf/machine/zaius.conf b/meta-zaius/conf/machine/zaius.conf
index b97b5d6..8dfb1d8 100644
--- a/meta-zaius/conf/machine/zaius.conf
+++ b/meta-zaius/conf/machine/zaius.conf
@@ -8,6 +8,7 @@
 PREFERRED_PROVIDER_virtual/p9-vcs-workaround = 'vcs-control'
 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory = "zaius-ipmi-inventory-map-native"
 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties = "zaius-ipmi-fru-properties-native"
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory = "zaius-ipmi-sensor-inventory-native"
 
 require conf/machine/include/ast2500.inc
 require conf/machine/include/obmc-bsp-common.inc
diff --git a/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend b/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend
deleted file mode 100644
index 72d991c..0000000
--- a/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-zaius/recipes-phosphor/ipmi/zaius-ipmi-sensor-inventory-native.bb b/meta-zaius/recipes-phosphor/ipmi/zaius-ipmi-sensor-inventory-native.bb
new file mode 100644
index 0000000..438249f
--- /dev/null
+++ b/meta-zaius/recipes-phosphor/ipmi/zaius-ipmi-sensor-inventory-native.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Sensor config for phosphor-host-ipmi"
+PR = "r1"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
+
+inherit native
+inherit phosphor-ipmi-host
+
+PROVIDES += "virtual/phosphor-ipmi-sensor-inventory"
+
+SRC_URI += "file://config.yaml"
+
+S = "${WORKDIR}"
+
+do_install() {
+        DEST=${D}${sensor_datadir}
+        install -d ${DEST}
+        install config.yaml ${DEST}/sensor.yaml
+}
diff --git a/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-zaius/recipes-phosphor/ipmi/zaius-ipmi-sensor-inventory/config.yaml
similarity index 100%
rename from meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
rename to meta-zaius/recipes-phosphor/ipmi/zaius-ipmi-sensor-inventory/config.yaml