diff options
author | Lei YU <mine260309@gmail.com> | 2018-04-28 11:55:57 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-05-22 05:12:40 +0300 |
commit | 6e8d3f083acf89775789641cbc012446e671da18 (patch) | |
tree | e22fb834eee60bea16e86ea0326bc0e8772140fd /meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor | |
parent | 3e37d38f660dd30f74db230056312bc279810441 (diff) | |
download | openbmc-6e8d3f083acf89775789641cbc012446e671da18.tar.xz |
meta-romulus: Add ipmi-fru-read-inventory config
Make both romulus-ipmi-inventory-map-native and
romulus-ipmi-fru-read-inventory-native recipes use the same yaml config.
Resolves: openbmc/openbmc#3134
Tested: Verify the generated fru-read-gen.cpp reflect the yaml config
and ipmi fru command prints the correct FRU information.
Change-Id: If52a883e0901d44cea473ac67e89d4361cd5354c
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/files/config.yaml (renamed from meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-inventory-map/config.yaml) | 0 | ||||
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-fru-read-inventory-native.bb | 18 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-inventory-map/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/files/config.yaml index de2e814742..de2e814742 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-inventory-map/config.yaml +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/files/config.yaml diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-fru-read-inventory-native.bb b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-fru-read-inventory-native.bb new file mode 100644 index 0000000000..5551200e1c --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/romulus-ipmi-fru-read-inventory-native.bb @@ -0,0 +1,18 @@ +SUMMARY = "Romulus inventory map for phosphor-ipmi-host" +PR = "r1" + +inherit native +inherit obmc-phosphor-license +inherit phosphor-ipmi-host + +SRC_URI += "file://config.yaml" + +PROVIDES += "virtual/phosphor-ipmi-fru-read-inventory" + +S = "${WORKDIR}" + +do_install() { + DEST=${D}${config_datadir} + install -d ${DEST} + install config.yaml ${DEST} +} |