Phosphor IPMI FRU config stubs for most systems
Add native recipe stubs that (will) provide the the IPMI -> DBus
inventory mapping for the Phosphor IPMI FRU provider.
Change-Id: I21e76bc23ef1638ddcc318a179808521dea7f205
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-palmetto/conf/machine/palmetto.conf b/meta-palmetto/conf/machine/palmetto.conf
index 9c60801..20cd783 100644
--- a/meta-palmetto/conf/machine/palmetto.conf
+++ b/meta-palmetto/conf/machine/palmetto.conf
@@ -15,3 +15,4 @@
PHOSPHOR_MRW_REV = "82818682f2c2009c30d700df6d5f8897a3096e4f"
PREFERRED_PROVIDER_virtual/obmc-inventory-data = "obmc-inventory"
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-config = "palmetto-ipmi-inventory-map"
diff --git a/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map.bb b/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map.bb
new file mode 100644
index 0000000..b9e1fcb
--- /dev/null
+++ b/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Palmetto IPMI to DBus Inventory mapping."
+PR = "r1"
+
+inherit native
+inherit obmc-phosphor-license
+
+SRC_URI += "file://config.yaml"
+
+PROVIDES += "virtual/phosphor-ipmi-fru-config"
+
+S = "${WORKDIR}"
+
+do_install() {
+ DEST=${D}${datadir}/phosphor-ipmi-fru
+
+ install -d ${DEST}
+ install config.yaml ${DEST}
+}
+
diff --git a/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map/config.yaml b/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map/config.yaml
new file mode 100644
index 0000000..b3459a9
--- /dev/null
+++ b/meta-palmetto/recipes-phosphor/ipmi/palmetto-ipmi-inventory-map/config.yaml
@@ -0,0 +1 @@
+# This file is a stub.