blob: 4162b2b58f9d8fb1110e2dfb62965825ef111716 [file] [log] [blame]
SUMMARY = "Entity Manager"
DESCRIPTION = "Entity Manager provides d-bus configuration data \
and configures system sensors"
SRC_URI = "git://github.com/openbmc/entity-manager.git file://blocklist.json"
SRCREV = "1034e026001ceafb64d828622557af25e0fa5a38"
PV = "0.1+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b"
SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.EntityManager.service \
${@bb.utils.contains('DISTRO_FEATURES', 'ipmi-fru', 'xyz.openbmc_project.FruDevice.service', '', d)}"
SYSTEMD_AUTO_ENABLE_${PN}_ibm-power-cpu = "disable"
DEPENDS = "boost \
nlohmann-json \
sdbusplus \
valijson"
S = "${WORKDIR}/git/"
inherit meson systemd
EXTRA_OEMESON = "-Dtests=disabled"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipmi-fru', d)}"
PACKAGECONFIG[ipmi-fru] = "-Dfru-device=true, -Dfru-device=false, i2c-tools,"
do_install_append() {
install -D ${WORKDIR}/blocklist.json ${D}${datadir}/${BPN}/blacklist.json
}