aboutsummaryrefslogtreecommitdiffstats
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
parent465a7215b8722bf53932b92655604eab15eea9d5 (diff)
downloadmeta-cloud-services-3028c01846fac6e4ab9fe9ee24a04d64af076443.tar.gz
meta-cloud-services-3028c01846fac6e4ab9fe9ee24a04d64af076443.tar.bz2
meta-cloud-services-3028c01846fac6e4ab9fe9ee24a04d64af076443.zip
cinder: create /var/log/cinder
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-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() {
install -m 600 ${WORKDIR}/api-paste.ini ${CINDER_CONF_DIR}/
install -m 600 ${S}/etc/cinder/policy.json ${CINDER_CONF_DIR}/
+ install -d ${D}${localstatedir}/log/${SRCNAME}
+
if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/init.d
sed 's:@suffix@:api:' < ${WORKDIR}/cinder.init >${WORKDIR}/cinder-api.init.sh
@@ -83,7 +85,9 @@ FILES_${SRCNAME}-scheduler = "${bindir}/cinder-scheduler \
${sysconfdir}/init.d/cinder-scheduler"
FILES_${SRCNAME} = "${bindir}/* \
- ${sysconfdir}/${SRCNAME}/* "
+ ${sysconfdir}/${SRCNAME}/* \
+ ${localstatedir}/* \
+ "
RDEPENDS_${PN} += "lvm2 \
python-sqlalchemy \