summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-09-06 16:35:23 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-09-06 18:00:08 -0400
commit7b270e7e30148f30e9ae5c649febba4ae368b627 (patch)
tree43a8bc23e4ba0b36fe5c8c05bcb77e8927a4580e /meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb
parent4d830901c31baf8b507ebd38aa9f226c7148d2b1 (diff)
downloadmeta-cloud-services-7b270e7e30148f30e9ae5c649febba4ae368b627.tar.gz
python-nova: use explicit file lists, versus variables
By setting the FILES_ packaging variables via .inc local vars, we can run into trouble with variable resolution timing and hence packaging fails. We temporarily switch back to explicit (and duplicated) file lists to fix packaging Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb16
1 files changed, 13 insertions, 3 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb b/meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb
index 686c1d7..a4822f2 100644
--- a/meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb
@@ -12,6 +12,7 @@ SRC_URI += "file://nova-all \
12inherit controller update-rc.d 12inherit controller update-rc.d
13 13
14PACKAGES = "${SRCNAME}-controller ${SRCNAME}-controller-misc" 14PACKAGES = "${SRCNAME}-controller ${SRCNAME}-controller-misc"
15# PACKAGES = "${SRCNAME}-controller-misc ${SRCNAME}-controller"
15 16
16do_install_append() { 17do_install_append() {
17 if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 18 if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
@@ -37,11 +38,20 @@ pkg_postinst_${SRCNAME}-controller () {
37 nova-manage db sync 38 nova-manage db sync
38} 39}
39 40
40 41# FILES_${SRCNAME}-controller = "${files_${SRCNAME}-controller}"
41FILES_${SRCNAME}-controller = "${files_${SRCNAME}-controller}" 42FILES_${SRCNAME}-controller = "${bindir}/* \
43 ${sysconfdir}/${SRCNAME}/* \
44 ${sysconfdir}/init.d/nova-all"
42 45
43# If the compute is built, so we package it out of the way 46# If the compute is built, so we package it out of the way
44FILES_${SRCNAME}-controller-misc = "${files_${SRCNAME}-compute} ${files_${SRCNAME}-common} ${files_${PYTHON_PN}}" 47# FILES_${SRCNAME}-controller-misc = "${files_${SRCNAME}-compute} ${files_${SRCNAME}-common} ${files_${PYTHON_PN}}"
48FILES_${SRCNAME}-controller-misc = "${libdir}/*\
49 ${bindir}/nova-compute \
50 ${sysconfdir}/${SRCNAME}/* \
51 ${sysconfdir}/init.d/nova-compute \
52 ${bindir}/nova-manage \
53 ${bindir}/nova-rootwrap \
54 ${sysconfdir}/sudoers.d"
45 55
46RDEPENDS_${SRCNAME}-controller = "${PYTHON_PN} ${SRCNAME}-common \ 56RDEPENDS_${SRCNAME}-controller = "${PYTHON_PN} ${SRCNAME}-common \
47 postgresql postgresql-client python-psycopg2" 57 postgresql postgresql-client python-psycopg2"