summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb16
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_2013.1.3.bb16
2 files changed, 26 insertions, 6 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"
diff --git a/meta-openstack/recipes-devtools/python/python-nova_2013.1.3.bb b/meta-openstack/recipes-devtools/python/python-nova_2013.1.3.bb
index c10bebb..c48f8d1 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_2013.1.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_2013.1.3.bb
@@ -12,11 +12,21 @@ pkg_postinst_${SRCNAME}-common () {
12 12
13PACKAGES += "${SRCNAME}-common ${SRCNAME}-common-misc" 13PACKAGES += "${SRCNAME}-common ${SRCNAME}-common-misc"
14 14
15FILES_${PN} = "${files_${PN}}" 15# FILES_${PN} = "${files_${PN}}"
16FILES_${PN} = "${libdir}/*"
16 17
17FILES_${SRCNAME}-common = "${files_${SRCNAME}-common}" 18# FILES_${SRCNAME}-common = "${files_${SRCNAME}-common}"
19FILES_${SRCNAME}-common = "${bindir}/nova-manage \
20 ${bindir}/nova-rootwrap \
21 ${sysconfdir}/sudoers.d"
18 22
19FILES_${SRCNAME}-common-misc = "${files_${SRCNAME}-compute} ${files_${SRCNAME}-controller}" 23# FILES_${SRCNAME}-common-misc = "${files_${SRCNAME}-compute} ${files_${SRCNAME}-controller}"
24FILES_${SRCNAME}-common-misc = "${bindir}/nova-compute \
25 ${sysconfdir}/${SRCNAME}/* \
26 ${sysconfdir}/init.d/nova-compute \
27 ${bindir}/* \
28 ${sysconfdir}/${SRCNAME}/* \
29 ${sysconfdir}/init.d/nova-all"
20 30
21RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \ 31RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \
22 iptables curl dnsmasq sudo procps" 32 iptables curl dnsmasq sudo procps"