Add recipe for phosphor-net-ipmid repository

Resolves openbmc/openbmc#430

Change-Id: Id958eab2822858fe6241830791380af1a9fc1052
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb b/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb
new file mode 100644
index 0000000..7331957
--- /dev/null
+++ b/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Phosphor Network IPMI Daemon"
+DESCRIPTION = "Daemon to support IPMI protocol over network"
+HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid"
+PR = "r1"
+
+inherit autotools pkgconfig
+inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
+
+DEPENDS += "autoconf-archive-native"
+DEPENDS += "phosphor-mapper"
+DEPENDS += "systemd"
+DEPENDS += "phosphor-ipmi-host"
+RDEPENDS_${PN} += "libmapper"
+RDEPENDS_${PN} += "libsystemd"
+PROVIDES += "virtual/obmc-net-ipmi"
+RPROVIDES_${PN} += "virtual-obmc-net-ipmi"
+
+SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid"
+SRCREV = "f744494864ef9292f8746922a5bf4bbe164d6430"
+
+S = "${WORKDIR}/git"
+
+SYSTEMD_SERVICE_${PN} = "${PN}.service"
diff --git a/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.service b/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.service
new file mode 100644
index 0000000..5a2ecbd
--- /dev/null
+++ b/common/recipes-phosphor/net-ipmid/phosphor-net-ipmid/phosphor-net-ipmid.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Network IPMI daemon
+
+[Service]
+ExecStart={sbindir}/netipmid
+Restart=always
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}