summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/devtools/obmc-pydevtools.bb
blob: b8911aa53733c32fdc211461af941029a1a077b9 (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
SUMMARY = "OpenBMC python devtools"
DESCRIPTION = "Shortcut scripts for developers."
PR = "r1"

inherit skeleton-python

VIRTUAL-RUNTIME_skeleton_workbook ?= ""

RDEPENDS_${PN} += "\
        python-dbus \
        python-json \
        python-xml \
        python-pygobject \
        ${VIRTUAL-RUNTIME_skeleton_workbook} \
	"

SKELETON_DIR = "pytools"

do_install_append() {
	if [ -f ${S}/obmcutil-completion.sh ]
	then
		install -d ${D}${sysconfdir}/profile.d
		install -m 0644 -D -t ${D}${sysconfdir}/profile.d ${S}/obmcutil-completion.sh
	fi
}
OpenPOWER on IntegriCloud