diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-22 16:34:17 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-25 16:17:20 -0500 |
| commit | 86398e60a1039f67c77c15974a002fc80b076298 (patch) | |
| tree | bb506f581d994b1358ea2f3e85d5db3ed8693df1 /meta-openstack/recipes-devtools/python/python-cinder_git.bb | |
| parent | bebcf13e5eca199d98a2c94ef1c20da50cba7f51 (diff) | |
| download | meta-cloud-services-86398e60a1039f67c77c15974a002fc80b076298.tar.gz | |
init: remove remaining createdb commands to separate init packages
After moving all database creation initialization packages, we also
remove it from the RDEPENDS of the various control node recipes.
This allows images to select database initialization or skip it.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinder_git.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb index 6e6f31b..28ae314 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb | |||
| @@ -49,7 +49,7 @@ do_install_append() { | |||
| 49 | fi | 49 | fi |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | pkg_postinst_${SRCNAME} () { | 52 | pkg_postinst_${SRCNAME}-setup () { |
| 53 | if [ "x$D" != "x" ]; then | 53 | if [ "x$D" != "x" ]; then |
| 54 | exit 1 | 54 | exit 1 |
| 55 | fi | 55 | fi |
| @@ -68,7 +68,8 @@ pkg_postinst_${SRCNAME} () { | |||
| 68 | echo "include /etc/cinder/data/volumes/*" >> /etc/tgt/targets.conf | 68 | echo "include /etc/cinder/data/volumes/*" >> /etc/tgt/targets.conf |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | PACKAGES += "${SRCNAME} ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" | 71 | PACKAGES += "${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler" |
| 72 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | ||
| 72 | 73 | ||
| 73 | FILES_${PN} = "${libdir}/*" | 74 | FILES_${PN} = "${libdir}/*" |
| 74 | 75 | ||
