diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinder_git.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb index 28ae314..50eacaa 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb | |||
| @@ -47,6 +47,8 @@ do_install_append() { | |||
| 47 | install -m 0755 ${WORKDIR}/cinder-scheduler.init.sh ${D}${sysconfdir}/init.d/cinder-scheduler | 47 | install -m 0755 ${WORKDIR}/cinder-scheduler.init.sh ${D}${sysconfdir}/init.d/cinder-scheduler |
| 48 | install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume | 48 | install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume |
| 49 | fi | 49 | fi |
| 50 | |||
| 51 | cp run_tests.sh ${CINDER_CONF_DIR} | ||
| 50 | } | 52 | } |
| 51 | 53 | ||
| 52 | pkg_postinst_${SRCNAME}-setup () { | 54 | pkg_postinst_${SRCNAME}-setup () { |
| @@ -68,11 +70,13 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 68 | echo "include /etc/cinder/data/volumes/*" >> /etc/tgt/targets.conf | 70 | echo "include /etc/cinder/data/volumes/*" >> /etc/tgt/targets.conf |
| 69 | } | 71 | } |
| 70 | 72 | ||
| 71 | PACKAGES += "${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" | 73 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" |
| 72 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 74 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 73 | 75 | ||
| 74 | FILES_${PN} = "${libdir}/*" | 76 | FILES_${PN} = "${libdir}/*" |
| 75 | 77 | ||
| 78 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | ||
| 79 | |||
| 76 | FILES_${SRCNAME}-api = "${bindir}/cinder-api \ | 80 | FILES_${SRCNAME}-api = "${bindir}/cinder-api \ |
| 77 | ${sysconfdir}/init.d/cinder-api" | 81 | ${sysconfdir}/init.d/cinder-api" |
| 78 | 82 | ||
