python-glanceclient: add missing bash_completion file 30/3730/1 bronze-rc1
authorJackie Huang <jackie.huang@windriver.com>
Mon, 18 May 2020 08:36:07 +0000 (16:36 +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: Ic3e4609acd80d3c360d4ef89b81a60a8044b102e

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

index 39d09aa..6d7f812 100644 (file)
@@ -55,8 +55,11 @@ RDEPENDS_${PN} += " \
 
 
 do_install_append() {
-       :
+       install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
+       install -p -D -m 664 tools/glance.bash_completion ${D}/${sysconfdir}/bash_completion.d/glance
+
 }
 
 FILES_${PN} += " \
+       ${sysconfdir}/bash_completion.d/ \
        "