From 3028c01846fac6e4ab9fe9ee24a04d64af076443 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 2 Oct 2013 13:53:27 -0400 Subject: cinder: create /var/log/cinder Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-cinder_2013.1.3.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3-54-g00ecf