summaryrefslogtreecommitdiffstats
path: root/meta-openpower
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2019-01-28 21:41:27 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-31 17:13:09 -0500
commit087f5182b56871028d99eb19e2619ba57f356cb9 (patch)
tree123aed933d11f153eaa671547a679389728d4cc9 /meta-openpower
parent0227ac31282a225da365faea499cd7a57cd34579 (diff)
downloadtalos-openbmc-087f5182b56871028d99eb19e2619ba57f356cb9.tar.gz
talos-openbmc-087f5182b56871028d99eb19e2619ba57f356cb9.zip
Add dependency on the phosphor-ipmi-inventory-sel recipe.
The phosphor-ipmi-inventory-sel recipe provides the system specific mapping between the IPMI sensor numbers and inventory path. The openpower-ipmi-oem library will consume this mapping to log eSEL as D-Bus error objects. (From meta-openpower rev: 55b87c2cdb7c75ec8674a4a77999f2630e6d282f) Change-Id: I24893f342920fbd9690d0d769ac1f0f44017948b Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openpower')
-rw-r--r--meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb b/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
index 327970f4e..e4d9b04fa 100644
--- a/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
+++ b/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
@@ -18,6 +18,7 @@ DEPENDS += "phosphor-logging"
DEPENDS += "phosphor-dbus-interfaces phosphor-dbus-interfaces-native"
DEPENDS += "openpower-dbus-interfaces openpower-dbus-interfaces-native"
DEPENDS += "sdbus++-native"
+DEPENDS += "virtual/phosphor-ipmi-inventory-sel"
RDEPENDS_${PN} += " \
sdbusplus \
@@ -30,6 +31,10 @@ TARGET_CFLAGS += "-fpic"
HOSTIPMI_PROVIDER_LIBRARY += "liboemhandler.so"
+EXTRA_OECONF = " \
+ INVSENSOR_YAML_GEN=${STAGING_DIR_NATIVE}${datadir}/phosphor-ipmi-host/sensor/invsensor.yaml \
+ "
+
S = "${WORKDIR}/git"
FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
OpenPOWER on IntegriCloud