Switch to systemd state management
Enable systemd chassis and bmc state management support for Phosphor.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I180496eb8e48dfc617f944053b8e909210c6df7d
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
index 2b19076..0d69af1 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
@@ -6,6 +6,7 @@
RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw"
inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
DEPENDS += " \
systemd \
@@ -16,6 +17,7 @@
TARGET_CXXFLAGS += " -fpic -std=gnu++14"
TARGET_CFLAGS += " -fpic"
+SYSTEMD_SERVICE_${PN} += "obmc-read-eeprom@.service"
SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"