commit | e425d2ea5be21e11861f2963c9b7ca296df38a9b | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jan 17 12:23:40 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Jan 25 04:08:16 2017 +0000 |
tree | 72ac71282b88ff385602cabf04b4aa6da62d6f51 | |
parent | d19c43d979f46a31a027f1b85d6220c6e3e19086 [diff] |
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-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/conf/machine/barreleye.conf b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/conf/machine/barreleye.conf index 890d919..819ee9d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/conf/machine/barreleye.conf +++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/conf/machine/barreleye.conf
@@ -12,3 +12,5 @@ FLASH_SIZE = "32768" OBMC_FAN_INSTANCES = "0 1 2 3 4 5" + +PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-config = "barreleye-ipmi-inventory-map"
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map.bb b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map.bb new file mode 100644 index 0000000..7b96fc9 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map.bb
@@ -0,0 +1,19 @@ +SUMMARY = "Barreleye 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-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml new file mode 100644 index 0000000..b3459a9 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/barreleye-ipmi-inventory-map/config.yaml
@@ -0,0 +1 @@ +# This file is a stub.