blob: 27837fd6c9b0301d9a6e095793e9e5650293f66a [file] [log] [blame]
Tom Josephfddc4052017-01-16 16:43:05 +05301SUMMARY = "Phosphor Network IPMI Daemon"
2DESCRIPTION = "Daemon to support IPMI protocol over network"
3HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid"
4PR = "r1"
Patrick Venture6ffd6b42018-10-01 20:54:34 -07005PV = "1.0+git${SRCPV}"
Tom Josephfddc4052017-01-16 16:43:05 +05306
7inherit autotools pkgconfig
8inherit obmc-phosphor-license
9inherit obmc-phosphor-systemd
10
11DEPENDS += "autoconf-archive-native"
12DEPENDS += "phosphor-mapper"
13DEPENDS += "systemd"
14DEPENDS += "phosphor-ipmi-host"
15RDEPENDS_${PN} += "libmapper"
16RDEPENDS_${PN} += "libsystemd"
Tom Joseph20a3a192018-09-21 00:56:43 -050017RDEPENDS_${PN} += "iptables"
Tom Josephfddc4052017-01-16 16:43:05 +053018
Richard Marian Thomaiyar719bb6b2018-10-03 13:57:22 +053019inherit useradd
20
21USERADD_PACKAGES = "${PN}"
22# add ipmi group
23GROUPADD_PARAM_${PN} = "ipmi"
24
Tom Josephfddc4052017-01-16 16:43:05 +053025SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid"
Tom Josephc2cb2972018-10-17 07:44:52 -050026SRC_URI += "file://ipmi-net-firewall.sh"
Andrew Geissler1382cba2018-10-06 12:50:21 +000027SRCREV = "5e452093830644245b83a817b8dad2fdb36ea550"
Tom Josephfddc4052017-01-16 16:43:05 +053028
29S = "${WORKDIR}/git"
30
Tom Josephc2cb2972018-10-17 07:44:52 -050031do_install_append() {
32 install -m 0755 ${WORKDIR}/ipmi-net-firewall.sh \
33 ${D}${sbindir}/ipmi-net-firewall.sh
34}
35
Tom Joseph12798692017-01-27 14:11:58 +053036SYSTEMD_SERVICE_${PN} = " \
37 ${PN}.service \
38 ${PN}.socket \
39 "