From 087f5182b56871028d99eb19e2619ba57f356cb9 Mon Sep 17 00:00:00 2001 From: Tom Joseph Date: Mon, 28 Jan 2019 21:41:27 -0600 Subject: 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 Signed-off-by: Brad Bishop --- meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-openpower/recipes-phosphor') 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}" -- cgit v1.2.3