meta-starlingx/recipes-core/stx-fault/python-fmclient.inc
babak sarashki e6a7fff91e Staging starlingx
Added stx-config, stx-fault, and stx-metal.
2020-05-18 13:07:27 -07:00

27 lines
650 B
PHP

PACKAGES += " python-fmclient"
do_configure_append () {
cd ${S}/python-fmclient/fmclient
distutils_do_configure
}
do_compile_append() {
cd ${S}/python-fmclient/fmclient
distutils_do_compile
}
do_install_append() {
cd ${S}/python-fmclient/fmclient
distutils_do_install
install -d -m 0755 ${D}/${sysconfdir}/bash_completion.d/
install -p -D -m 664 tools/fm.bash_completion ${D}/${sysconfdir}/bash_completion.d/fm.bash_completion
}
FILES_python-fmclient = " \
${bindir}/fm \
${libdir}/python2.7/site-packages/fmclient-*.egg-info/ \
${libdir}/python2.7/site-packages/fmclient/ \
${sysconfdir}/bash_completion.d/fm.bash_completion \
"