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-glance_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-glance_git.bb')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance_git.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb index 2fe4ed0..935fdc9 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_git.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb | |||
@@ -58,7 +58,7 @@ do_install_append() { | |||
58 | fi | 58 | fi |
59 | } | 59 | } |
60 | 60 | ||
61 | pkg_postinst_${SRCNAME} () { | 61 | pkg_postinst_${SRCNAME}-setup () { |
62 | if [ "x$D" != "x" ]; then | 62 | if [ "x$D" != "x" ]; then |
63 | exit 1 | 63 | exit 1 |
64 | fi | 64 | fi |
@@ -75,7 +75,8 @@ pkg_postinst_${SRCNAME} () { | |||
75 | glance-manage db_sync | 75 | glance-manage db_sync |
76 | } | 76 | } |
77 | 77 | ||
78 | PACKAGES += " ${SRCNAME} ${SRCNAME}-api ${SRCNAME}-registry" | 78 | PACKAGES += " ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry" |
79 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | ||
79 | 80 | ||
80 | FILES_${PN} = "${libdir}/*" | 81 | FILES_${PN} = "${libdir}/*" |
81 | 82 | ||