diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinderclient_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinderclient_git.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb b/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb index 3c7293b..1f4e4a6 100644 --- a/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinderclient_git.bb | |||
| @@ -30,3 +30,14 @@ RDEPENDS_${PN} += "python-prettytable \ | |||
| 30 | python-setuptools-git \ | 30 | python-setuptools-git \ |
| 31 | python-pbr \ | 31 | python-pbr \ |
| 32 | " | 32 | " |
| 33 | |||
| 34 | PACKAGECONFIG ?= "bash-completion" | ||
| 35 | PACKAGECONFIG[bash-completion] = ",,bash-completion,bash-completion ${BPN}-bash-completion" | ||
| 36 | |||
| 37 | do_install_append() { | ||
| 38 | install -d ${D}/${sysconfdir}/bash_completion.d | ||
| 39 | install -m 664 ${S}/tools/cinder.bash_completion ${D}/${sysconfdir}/bash_completion.d | ||
| 40 | } | ||
| 41 | |||
| 42 | PACKAGES =+ "${BPN}-bash-completion" | ||
| 43 | FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*" | ||
