diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-05-08 09:19:10 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-05-23 14:03:25 +0300 |
commit | cf7e84977a51885fd3872ecbb7f621508ee9b33c (patch) | |
tree | 80c4c1799b238dd815a17a5d0116e72dc58e1633 /meta-phosphor/conf | |
parent | 47b348bf10b201fefb257ff7a2668fcf9c5722e5 (diff) | |
download | openbmc-cf7e84977a51885fd3872ecbb7f621508ee9b33c.tar.xz |
Add virtual/phosphor-ipmi-inventory-sel
This virtual provides a YAML file that serves as a mapping between
inventory and sensor number for phosphor-ipmi-host. Add a native
recipe that builds the YAML from the MRW. This is the default for
the machines that support obmc-mrw.
Resolves openbmc/openbmc#1514
Change-Id: I3d856ab00c34d3e71926b863f207dd69f7fc8f3f
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'meta-phosphor/conf')
-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 4f47453ec..62ae25387 100644 --- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc +++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc @@ -176,5 +176,13 @@ PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \ PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config ?= \ "${@cf_enabled(d, 'obmc-mrw', 'phosphor-fan-control-fan-config-mrw-native', 'phosphor-fan-control-fan-config-native')}" +# The phosphor-host-ipmid application is data-driven and requires an input +# mapping of inventory object path to the sensor number and sensor metadata. +# 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-host-ipmid build process in the native sysroot. +PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel ?= \ + "${@cf_enabled(d, 'obmc-mrw', 'phosphor-ipmi-inventory-sel-mrw-native', 'phosphor-ipmi-inventory-sel-native')}" + OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project" OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project" |