diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutronclient_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutronclient_git.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutronclient_git.bb b/meta-openstack/recipes-devtools/python/python-neutronclient_git.bb index 6d295c2..2aac1e9 100644 --- a/meta-openstack/recipes-devtools/python/python-neutronclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutronclient_git.bb | |||
| @@ -27,3 +27,14 @@ SRCREV="6adb11703cb5b55a4af45e8524dc1039fb03176c" | |||
| 27 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
| 28 | 28 | ||
| 29 | inherit setuptools | 29 | inherit setuptools |
| 30 | |||
| 31 | PACKAGECONFIG ?= "bash-completion" | ||
| 32 | PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash-completion" | ||
| 33 | |||
| 34 | do_install_append() { | ||
| 35 | install -d ${D}/${sysconfdir}/bash_completion.d | ||
| 36 | install -m 664 ${S}/tools/neutron.bash_completion ${D}/${sysconfdir}/bash_completion.d | ||
| 37 | } | ||
| 38 | |||
| 39 | PACKAGES =+ "${BPN}-bash-completion" | ||
| 40 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" | ||
