python-cinderclient: add missing bash_completion file 29/3729/1
authorJackie Huang <jackie.huang@windriver.com>
Mon, 18 May 2020 08:26:05 +0000 (16:26 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Mon, 18 May 2020 12:37:20 +0000 (20:37 +0800)
Issue-ID: INF-117
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I75493a6210cc3c90bc052dc31ef4925befc9075f

meta-stx/recipes-devtools/python/python-cinderclient_git.bb

index 3d431d5..412b819 100644 (file)
@@ -56,8 +56,10 @@ RDEPENDS_${PN} += " \
 
 
 do_install_append() {
-       :
+       install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
+       install -p -D -m 664 tools/cinder.bash_completion ${D}/${sysconfdir}/bash_completion.d/cinder.bash_completion
 }
 
 FILES_${PN} += " \
+       ${sysconfdir}/bash_completion.d/ \
        "