diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb index 3ccb860..41d6046 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_git.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb | |||
| @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" | |||
| 18 | 18 | ||
| 19 | inherit setuptools update-rc.d identity default_configs | 19 | inherit setuptools update-rc.d identity default_configs |
| 20 | 20 | ||
| 21 | GLANCE_DEFAULT_STORE ?= "file" | ||
| 22 | |||
| 21 | do_install_append() { | 23 | do_install_append() { |
| 22 | TEMPLATE_CONF_DIR=${S}${sysconfdir} | 24 | TEMPLATE_CONF_DIR=${S}${sysconfdir} |
| 23 | GLANCE_CONF_DIR=${D}${sysconfdir}/glance | 25 | GLANCE_CONF_DIR=${D}${sysconfdir}/glance |
| @@ -61,6 +63,8 @@ do_install_append() { | |||
| 61 | install -m 0755 ${WORKDIR}/glance-registry.init.sh ${D}${sysconfdir}/init.d/glance-registry | 63 | install -m 0755 ${WORKDIR}/glance-registry.init.sh ${D}${sysconfdir}/init.d/glance-registry |
| 62 | fi | 64 | fi |
| 63 | 65 | ||
| 66 | sed 's:^default_store =.*:default_store = ${GLANCE_DEFAULT_STORE}:g' -i ${WORKDIR}/glance-api.conf | ||
| 67 | |||
| 64 | cp run_tests.sh ${GLANCE_CONF_DIR} | 68 | cp run_tests.sh ${GLANCE_CONF_DIR} |
| 65 | } | 69 | } |
| 66 | 70 | ||
