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.
Change-Id: I8021c9c0a63e54fa680b41d8227279a2df84a1e9
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb b/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
index 327970f..e4d9b04 100644
--- a/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
+++ b/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
@@ -18,6 +18,7 @@
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 @@
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}"