diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-06-11 14:24:24 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:56 -0400 |
| commit | 461b1f2cc764f7e2fcf6669de3a59493de41333a (patch) | |
| tree | 5955e6484e2ddcd705f87b69c5563e4a54a68508 /meta-openstack/recipes-devtools/python | |
| parent | 151704f0d80acd493ed1ce2fb664a2ceb29811c6 (diff) | |
| download | meta-cloud-services-461b1f2cc764f7e2fcf6669de3a59493de41333a.tar.gz | |
python-glance: Split package into multiple components
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-glance_2013.1.bb | 26 |
1 files changed, 23 insertions, 3 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 a912a4e..b574468 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_2013.1.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_2013.1.bb | |||
| @@ -43,7 +43,7 @@ do_install_append() { | |||
| 43 | touch ${GLANCE_CONF_DIR}/glance.db | 43 | touch ${GLANCE_CONF_DIR}/glance.db |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | pkg_postinst_${PN} () { | 46 | pkg_postinst_${SRCNAME} () { |
| 47 | if [ "x$D" != "x" ]; then | 47 | if [ "x$D" != "x" ]; then |
| 48 | exit 1 | 48 | exit 1 |
| 49 | fi | 49 | fi |
| @@ -55,8 +55,22 @@ pkg_postinst_${PN} () { | |||
| 55 | glance-manage db_sync | 55 | glance-manage db_sync |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | FILES_${PN} += "${sysconfdir}/${SRCNAME}/* \ | 58 | PACKAGES += " ${SRCNAME} ${SRCNAME}-api ${SRCNAME}-registry" |
| 59 | ${localstatedir}/lib/${SRCNAME}/*" | 59 | |
| 60 | FILES_${PN} = "${libdir}/*" | ||
| 61 | |||
| 62 | FILES_${SRCNAME} = "${bindir}/* \ | ||
| 63 | ${sysconfdir}/${SRCNAME}/* \ | ||
| 64 | ${localstatedir}/* \ | ||
| 65 | " | ||
| 66 | |||
| 67 | FILES_${SRCNAME}-api = "${bindir}/glance-api \ | ||
| 68 | ${sysconfdir}/init.d/glance-api \ | ||
| 69 | " | ||
| 70 | |||
| 71 | FILES_${SRCNAME}-registry = "${bindir}/glance-registry \ | ||
| 72 | ${sysconfdir}/init.d/glance-registry \ | ||
| 73 | " | ||
| 60 | 74 | ||
| 61 | RDEPENDS_${PN} += "python-greenlet \ | 75 | RDEPENDS_${PN} += "python-greenlet \ |
| 62 | python-sqlalchemy \ | 76 | python-sqlalchemy \ |
| @@ -78,3 +92,9 @@ RDEPENDS_${PN} += "python-greenlet \ | |||
| 78 | python-keystoneclient \ | 92 | python-keystoneclient \ |
| 79 | python-swiftclient \ | 93 | python-swiftclient \ |
| 80 | " | 94 | " |
| 95 | |||
| 96 | RDEPENDS_${SRCNAME} = "${PN} \ | ||
| 97 | postgresql postgresql-client python-psycopg2" | ||
| 98 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}" | ||
| 99 | RDEPENDS_${SRCNAME}-registry = "${SRCNAME}" | ||
| 100 | |||
