diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-28 20:51:42 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-02 16:44:10 +0300 |
commit | 0a544b5f874e81a1c4579d3de113c176668b6c80 (patch) | |
tree | 4d05c2e122c28d8f79e6d4e8138ba586885a7c9d /meta-phosphor/conf/distro/include/phosphor-defaults.inc | |
parent | 3acb95c97521320122bdd1c735226a597c1b4363 (diff) | |
download | openbmc-0a544b5f874e81a1c4579d3de113c176668b6c80.tar.xz |
ipmi: Add virtual/phosphor-ipmi-fru-inventory
This virtual provides a configuration file that describes
the IPMI inventory implementation details to ipmi-fru-parser.
Add a recipe that provides the sample that comes with
ipmi-fru-parser.
Add a recipe that generates the file from an MRW.
Change-Id: I331fec22fb603146cbe6b2d57256a2b29adce46b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/conf/distro/include/phosphor-defaults.inc')
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-defaults.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc index 221e960943..a505bcdb3f 100644 --- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc +++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc @@ -42,5 +42,13 @@ PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-config ?= "phosphor-ipmi-fru-config # the phosphor-ipmi-fru build process. PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "phosphor-ipmi-fru-hostfw-config-example-native" +# The phosphor-ipmi-fru application is data-driven and requires an input +# mapping of IPMI inventory metadata to DBus objects interfaces and properties. +# This virtual is a native recipe that provides that mapping by installing +# configuration files in the format and native sysroot location expected by +# the phosphor-ipmi-fru build process in the native sysroot. +PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory ?= \ + "${@cf_enabled(d, 'obmc-mrw', 'phosphor-ipmi-fru-inventory-mrw-native', 'phosphor-ipmi-fru-inventory-example-native')}" + OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project" OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project" |