summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/conf
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-05-08 11:49:10 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-05-23 11:03:25 +0000
commitcf7e84977a51885fd3872ecbb7f621508ee9b33c (patch)
tree80c4c1799b238dd815a17a5d0116e72dc58e1633 /meta-phosphor/conf
parent47b348bf10b201fefb257ff7a2668fcf9c5722e5 (diff)
downloadtalos-openbmc-cf7e84977a51885fd3872ecbb7f621508ee9b33c.tar.gz
talos-openbmc-cf7e84977a51885fd3872ecbb7f621508ee9b33c.zip
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.inc8
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"
OpenPOWER on IntegriCloud