summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder_2013.1.3.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_2013.1.3.bb b/meta-openstack/recipes-devtools/python/python-cinder_2013.1.3.bb
index 481eb21..1cdcd98 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_2013.1.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_2013.1.3.bb
@@ -38,6 +38,8 @@ do_install_append() {
38 install -m 600 ${WORKDIR}/api-paste.ini ${CINDER_CONF_DIR}/ 38 install -m 600 ${WORKDIR}/api-paste.ini ${CINDER_CONF_DIR}/
39 install -m 600 ${S}/etc/cinder/policy.json ${CINDER_CONF_DIR}/ 39 install -m 600 ${S}/etc/cinder/policy.json ${CINDER_CONF_DIR}/
40 40
41 install -d ${D}${localstatedir}/log/${SRCNAME}
42
41 if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 43 if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
42 install -d ${D}${sysconfdir}/init.d 44 install -d ${D}${sysconfdir}/init.d
43 sed 's:@suffix@:api:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-api.init.sh 45 sed 's:@suffix@:api:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-api.init.sh
@@ -83,7 +85,9 @@ FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \
83 ${sysconfdir}/init.d/cinder-scheduler" 85 ${sysconfdir}/init.d/cinder-scheduler"
84 86
85FILES_${SRCNAME} = "${bindir}/* \ 87FILES_${SRCNAME} = "${bindir}/* \
86 ${sysconfdir}/${SRCNAME}/* " 88 ${sysconfdir}/${SRCNAME}/* \
89 ${localstatedir}/* \
90 "
87 91
88RDEPENDS_${PN} += "lvm2 \ 92RDEPENDS_${PN} += "lvm2 \
89 python-sqlalchemy \ 93 python-sqlalchemy \