summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-tool.bb
blob: 2a4d670da25ecbf81ce03d48932ff22be84a7f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SUMMARY = "Phosphor ipmi tool for injecting ipmi commands"
DESCRIPTION = "IPMI Tool with dbus capabilities"
HOMEPAGE = "https://github.com/openbmc/ipmitool"
PR = "r1"


RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw"

inherit obmc-phosphor-license

DEPENDS += "systemd    \
		 	host-ipmid \
		 	"

RDEPENDS_${PN} += "libsystemd	\
                   libcrypto	\
                   "


SRC_URI += "git://github.com/openbmc/ipmitool"

SRCREV = "e9b9c1a9677a3de19726d036cfb07d8d61bbccd8"


S = "${WORKDIR}/git"


do_compile() {
	${S}/bootstrap --enable-intf-dbus
	${S}/configure --host x86_64
	make
}

do_install() {  
	install -m 0755 -d ${D}${sbindir}
	install -m 0755 ${S}/src/ipmitool ${D}${sbindir}
}
OpenPOWER on IntegriCloud