diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance_2013.1.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance_2013.1.bb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance_2013.1.bb b/meta-openstack/recipes-devtools/python/python-glance_2013.1.bb index 72d5662..90d1813 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_2013.1.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_2013.1.bb | |||
| @@ -40,9 +40,6 @@ do_install_append() { | |||
| 40 | 40 | ||
| 41 | install -d ${D}${localstatedir}/log/${SRCNAME} | 41 | install -d ${D}${localstatedir}/log/${SRCNAME} |
| 42 | 42 | ||
| 43 | # Create the sqlite database | ||
| 44 | touch ${GLANCE_CONF_DIR}/glance.db | ||
| 45 | |||
| 46 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 43 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 47 | install -d ${D}${sysconfdir}/init.d | 44 | install -d ${D}${sysconfdir}/init.d |
| 48 | sed 's:@suffix@:api:' < ${WORKDIR}/glance.init >${WORKDIR}/glance-api.init.sh | 45 | sed 's:@suffix@:api:' < ${WORKDIR}/glance.init >${WORKDIR}/glance-api.init.sh |
| @@ -50,7 +47,6 @@ do_install_append() { | |||
| 50 | sed 's:@suffix@:registry:' < ${WORKDIR}/glance.init >${WORKDIR}/glance-registry.init.sh | 47 | sed 's:@suffix@:registry:' < ${WORKDIR}/glance.init >${WORKDIR}/glance-registry.init.sh |
| 51 | install -m 0755 ${WORKDIR}/glance-registry.init.sh ${D}${sysconfdir}/init.d/glance-registry | 48 | install -m 0755 ${WORKDIR}/glance-registry.init.sh ${D}${sysconfdir}/init.d/glance-registry |
| 52 | fi | 49 | fi |
| 53 | |||
| 54 | } | 50 | } |
| 55 | 51 | ||
| 56 | pkg_postinst_${SRCNAME} () { | 52 | pkg_postinst_${SRCNAME} () { |
