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 000000000000..0636f12d2948 --- /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 000000000000..9741e61b5b76 --- /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 8aa6ba8ca9ae..4dbcdd37e5e1 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"