[PATCH openbmc 04/20] Start host-ipmid on boot

OpenBMC Patches patches at stwcx.xyz
Wed Oct 21 06:19:42 AEDT 2015


From: Brad Bishop <bradleyb at us.ibm.com>

Recipe was not picking up c-daemon which hooks into systemd.
Removed quotes from description.
---
 meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb       | 5 ++---
 .../common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
index 5e7ad64..5f38eb3 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
@@ -5,17 +5,16 @@ PR = "r1"
 
 inherit obmc-phosphor-license
 inherit obmc-phosphor-sdbus-service
+inherit obmc-phosphor-c-daemon
 
 SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
 
 SRCREV = "98900a99254cd177c8308b63c341f793d2ac119d"
 
 S = "${WORKDIR}/git"
+INSTALL_NAME = "ipmid"
 
 do_install() {
-        install -m 0755 -d ${D}${sbindir}
-        install -m 0755 ${S}/ipmid ${D}${sbindir}/
-
         install -m 0755 -d ${D}${libdir}/host-ipmid
         install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
 
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
index 0636f12..ee9ce1a 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
@@ -1,5 +1,5 @@
 [Unit]
-Description="Phosphor OpenBMC IPMI daemon"
+Description=Phosphor OpenBMC IPMI daemon
 
 [Service]
 ExecStart=/usr/sbin/ipmid
-- 
2.6.0




More information about the openbmc mailing list