summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb
diff options
context:
space:
mode:
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"