From 86398e60a1039f67c77c15974a002fc80b076298 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 22 Nov 2013 16:34:17 -0500 Subject: 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 --- meta-openstack/recipes-devtools/python/python-glance_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-glance_git.bb') 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() { fi } -pkg_postinst_${SRCNAME} () { +pkg_postinst_${SRCNAME}-setup () { if [ "x$D" != "x" ]; then exit 1 fi @@ -75,7 +75,8 @@ pkg_postinst_${SRCNAME} () { glance-manage db_sync } -PACKAGES += " ${SRCNAME} ${SRCNAME}-api ${SRCNAME}-registry" +PACKAGES += " ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-registry" +ALLOW_EMPTY_${SRCNAME}-setup = "1" FILES_${PN} = "${libdir}/*" -- cgit v1.2.3-54-g00ecf