summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder_git.bb6
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 50eacaa..c441828 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
@@ -11,6 +11,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \
11 file://cinder.conf \ 11 file://cinder.conf \
12 file://cinder.init \ 12 file://cinder.init \
13 file://cinder-volume \ 13 file://cinder-volume \
14 file://0001-run_tests-respect-tools-dir.patch \
14 " 15 "
15 16
16SRCREV="1f99a044580286bf0d927cc7fc7ce3378653aef0" 17SRCREV="1f99a044580286bf0d927cc7fc7ce3378653aef0"
@@ -48,7 +49,9 @@ do_install_append() {
48 install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume 49 install -m 0755 ${WORKDIR}/cinder-volume ${D}${sysconfdir}/init.d/cinder-volume
49 fi 50 fi
50 51
52 # test setup
51 cp run_tests.sh ${CINDER_CONF_DIR} 53 cp run_tests.sh ${CINDER_CONF_DIR}
54 cp -r tools ${CINDER_CONF_DIR}
52} 55}
53 56
54pkg_postinst_${SRCNAME}-setup () { 57pkg_postinst_${SRCNAME}-setup () {
@@ -75,7 +78,8 @@ ALLOW_EMPTY_${SRCNAME}-setup = "1"
75 78
76FILES_${PN} = "${libdir}/*" 79FILES_${PN} = "${libdir}/*"
77 80
78FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" 81FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \
82 ${sysconfdir}/${SRCNAME}/tools"
79 83
80FILES_${SRCNAME}-api = "${bindir}/cinder-api \ 84FILES_${SRCNAME}-api = "${bindir}/cinder-api \
81 ${sysconfdir}/init.d/cinder-api" 85 ${sysconfdir}/init.d/cinder-api"