summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-glance_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb
index 935fdc9..f59af90 100644
--- a/meta-openstack/recipes-devtools/python/python-glance_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb
@@ -56,6 +56,8 @@ do_install_append() {
56 sed 's:@suffix@:registry:' < ${WORKDIR}/glance.init >${WORKDIR}/glance-registry.init.sh 56 sed 's:@suffix@:registry:' < ${WORKDIR}/glance.init >${WORKDIR}/glance-registry.init.sh
57 install -m 0755 ${WORKDIR}/glance-registry.init.sh ${D}${sysconfdir}/init.d/glance-registry 57 install -m 0755 ${WORKDIR}/glance-registry.init.sh ${D}${sysconfdir}/init.d/glance-registry
58 fi 58 fi
59
60 cp run_tests.sh ${GLANCE_CONF_DIR}
59} 61}
60 62
61pkg_postinst_${SRCNAME}-setup () { 63pkg_postinst_${SRCNAME}-setup () {
@@ -75,11 +77,13 @@ pkg_postinst_${SRCNAME}-setup () {
75 glance-manage db_sync 77 glance-manage db_sync
76} 78}
77 79
78PACKAGES += " ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry" 80PACKAGES += " ${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry"
79ALLOW_EMPTY_${SRCNAME}-setup = "1" 81ALLOW_EMPTY_${SRCNAME}-setup = "1"
80 82
81FILES_${PN} = "${libdir}/*" 83FILES_${PN} = "${libdir}/*"
82 84
85FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh"
86
83FILES_${SRCNAME} = "${bindir}/* \ 87FILES_${SRCNAME} = "${bindir}/* \
84 ${sysconfdir}/${SRCNAME}/* \ 88 ${sysconfdir}/${SRCNAME}/* \
85 ${localstatedir}/* \ 89 ${localstatedir}/* \