diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/devtools')
-rw-r--r-- | meta-phosphor/recipes-phosphor/devtools/obmc-pydevtools.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/devtools/obmc-pydevtools.bb b/meta-phosphor/recipes-phosphor/devtools/obmc-pydevtools.bb new file mode 100644 index 0000000000..b8911aa537 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/devtools/obmc-pydevtools.bb @@ -0,0 +1,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 +} |