diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance_git.bb | 6 |
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 | ||
| 61 | pkg_postinst_${SRCNAME}-setup () { | 63 | pkg_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 | ||
| 78 | PACKAGES += " ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry" | 80 | PACKAGES += " ${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry" |
| 79 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 81 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 80 | 82 | ||
| 81 | FILES_${PN} = "${libdir}/*" | 83 | FILES_${PN} = "${libdir}/*" |
| 82 | 84 | ||
| 85 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | ||
| 86 | |||
| 83 | FILES_${SRCNAME} = "${bindir}/* \ | 87 | FILES_${SRCNAME} = "${bindir}/* \ |
| 84 | ${sysconfdir}/${SRCNAME}/* \ | 88 | ${sysconfdir}/${SRCNAME}/* \ |
| 85 | ${localstatedir}/* \ | 89 | ${localstatedir}/* \ |
