summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-10-02 13:53:27 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-10-03 01:16:44 -0400
commit3028c01846fac6e4ab9fe9ee24a04d64af076443 (patch)
treea938af9e1158b66d4c5d3212e31bf687fc61ff9a /meta-openstack
parent465a7215b8722bf53932b92655604eab15eea9d5 (diff)
downloadmeta-cloud-services-3028c01846fac6e4ab9fe9ee24a04d64af076443.tar.gz
cinder: create /var/log/cinder
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack')
-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 \