summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance_git.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-11-22 16:34:17 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-11-25 16:17:20 -0500
commit86398e60a1039f67c77c15974a002fc80b076298 (patch)
treebb506f581d994b1358ea2f3e85d5db3ed8693df1 /meta-openstack/recipes-devtools/python/python-glance_git.bb
parentbebcf13e5eca199d98a2c94ef1c20da50cba7f51 (diff)
downloadmeta-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.bb5
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
61pkg_postinst_${SRCNAME} () { 61pkg_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
78PACKAGES += " ${SRCNAME} ${SRCNAME}-api ${SRCNAME}-registry" 78PACKAGES += " ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry"
79ALLOW_EMPTY_${SRCNAME}-setup = "1"
79 80
80FILES_${PN} = "${libdir}/*" 81FILES_${PN} = "${libdir}/*"
81 82