diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-15 15:20:10 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:58 -0400 |
| commit | 03d9e55c4dbfb711fa949bd1885d1aeb0e5b4fa2 (patch) | |
| tree | 2df8a547efcbbc9a12ec4edb3dec7cb9d1816e3a /meta-openstack | |
| parent | f5e9ca889942455d8bfcbc49824dd475d547cd38 (diff) | |
| download | meta-cloud-services-03d9e55c4dbfb711fa949bd1885d1aeb0e5b4fa2.tar.gz | |
python-glance: Removed old code
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack')
| -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} () { |
