diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-03-06 14:35:11 +0300 |
---|---|---|
committer | Ratan Gupta <ratagupt@in.ibm.com> | 2017-03-16 12:02:36 +0300 |
commit | 3aa591fe9b9509fbdb0ea41ae6763448393294ac (patch) | |
tree | 74b0b1ece6639d39b6cabe6f35b2079643875e96 /meta-phosphor/conf | |
parent | f0a463adf45dc2baedd2e5d60a22dd41827781eb (diff) | |
download | openbmc-3aa591fe9b9509fbdb0ea41ae6763448393294ac.tar.xz |
Add virtual/phosphor-ipmi-sensor-inventory
This virtual provides a YAML file that serves as sensor
inventory configuration for phosphor-host-ipmid.
Add a native recipe that builds the configuration from MRW.
Set this recipe as the default for OpenPOWER systems.
Resolves openbmc/openbmc#781
Resolves openbmc/openbmc#1212
Change-Id: I25034dd3ed825e2ef320ab0b38ac2f733afded47
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-defaults.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc index 954264d45..d9d532a72 100644 --- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc +++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc @@ -108,5 +108,14 @@ PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties ?= \ PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native ?= \ "${@cf_enabled(d, 'obmc-mrw', 'phosphor-led-manager-config-mrw-native', 'phosphor-led-manager-config-example-native')}" +# The phosphor-host-ipmid application is data-driven and requires an input +# mapping of IPMI inventory sensor 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-host-ipmid build process in the native sysroot. +PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \ + "${@cf_enabled(d, 'obmc-mrw', 'phosphor-ipmi-sensor-inventory-mrw-native', 'phosphor-ipmi-sensor-inventory-example-native')}" + + OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project" OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project" |