[PATCH openbmc 7/7] bitbake and package files for host-ipmid
OpenBMC Patches
patches at stwcx.xyz
Tue Oct 13 01:16:40 AEDT 2015
From: vishwabmc <vishwanath at in.ibm.com>
---
.../host-ipmid/files/host-ipmid.service | 8 ++++++++
.../common/recipes-phosphor/host-ipmid/host-ipmid.bb | 20 ++++++++++++++++++++
.../packagegroups/packagegroup-obmc-phosphor-apps.bb | 1 +
3 files changed, 29 insertions(+)
create mode 100644 meta-phosphor/common/recipes-phosphor/host-ipmid/files/host-ipmid.service
create mode 100644 meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/files/host-ipmid.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/files/host-ipmid.service
new file mode 100644
index 0000000..0636f12
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/files/host-ipmid.service
@@ -0,0 +1,8 @@
+[Unit]
+Description="Phosphor OpenBMC IPMI daemon"
+
+[Service]
+ExecStart=/usr/sbin/ipmid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
new file mode 100644
index 0000000..9741e61
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Phosphor OpenBMC IPMI daemon"
+DESCRIPTION = "Phosphor OpenBMC IPMI router and plugin libraries"
+HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid"
+PR = "r1"
+
+inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
+
+DEPENDS += "glib-2.0"
+SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
+
+SRCREV = "02d37aab090090af9a779f4039931a6721bff615"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -m 0755 -d ${D}${sbindir} ${D}${libdir} ${D}${libdir}/host-ipmid/
+ install -m 0755 ${S}/ipmid ${D}${sbindir}/
+ install -m 0755 ${S}/libapphandler.so ${D}${libdir}/host-ipmid/
+}
diff --git a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb
index 8aa6ba8..4dbcdd3 100644
--- a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb
+++ b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb
@@ -25,6 +25,7 @@ PACKAGES = " \
SUMMARY_packagegroup-obmc-phosphor-apps-extras = "Extra features"
RDEPENDS_packagegroup-obmc-phosphor-apps-extras = " \
rest-dbus \
+ host-ipmid \
"
SUMMARY_packagegroup-obmc-phosphor-apps-fan-mgmt = "Fan management support"
--
2.6.0
More information about the openbmc
mailing list