entity-manager: add support for dbus activation
Add the dependency on dbus-1, which EM needs for some path variables in
its pkg-config file, and update to handle the additional dbus activation
unit file artifact.
Change-Id: I9711661ccdbb3ce35c08b310fcaa9c3effffe2bb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/recipes-phosphor/configuration/entity-manager_git.bb b/recipes-phosphor/configuration/entity-manager_git.bb
index 31bbea1..2fc69ca 100644
--- a/recipes-phosphor/configuration/entity-manager_git.bb
+++ b/recipes-phosphor/configuration/entity-manager_git.bb
@@ -10,6 +10,7 @@
LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b"
DEPENDS = "boost \
+ dbus \
nlohmann-json \
sdbusplus \
valijson"
@@ -32,6 +33,9 @@
install -D ${WORKDIR}/blocklist.json ${D}${datadir}/${BPN}/blacklist.json
}
+FILES_${PN} += " \
+ ${datadir}/dbus-1/system-services/xyz.openbmc_project.EntityManager.service \
+ "
FILES_fru-device = "${bindir}/fru-device ${datadir}/${BPN}/blacklist.json"
SYSTEMD_PACKAGES = "${PN} ${EXTRA_ENTITY_MANAGER_PACKAGES}"