summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-06-11 13:52:12 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:56 -0400
commitf51277f5f99ffe0d897628d058d9e011bba4d484 (patch)
treee4ecd33146121a2bd50e8469e7e45eb53c9f4f90
parente778b1d3bc83ac2e24ddc1860083d72ae6759c00 (diff)
downloadmeta-cloud-services-f51277f5f99ffe0d897628d058d9e011bba4d484.tar.gz
python-nova: Split package into multiple components
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova_2013.1.bb31
1 files changed, 23 insertions, 8 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova_2013.1.bb b/meta-openstack/recipes-devtools/python/python-nova_2013.1.bb
index dcb35b9..d6b9ca1 100644
--- a/meta-openstack/recipes-devtools/python/python-nova_2013.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-nova_2013.1.bb
@@ -62,7 +62,7 @@ GROUPADD_PARAM_${PN} = "--system nova"
62USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova \ 62USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova \
63 --no-create-home --shell /bin/false nova" 63 --no-create-home --shell /bin/false nova"
64 64
65pkg_postinst_${PN} () { 65pkg_postinst_${SRCNAME}-controller () {
66 if [ "x$D" != "x" ]; then 66 if [ "x$D" != "x" ]; then
67 exit 1 67 exit 1
68 fi 68 fi
@@ -73,18 +73,24 @@ pkg_postinst_${PN} () {
73 nova-manage db sync 73 nova-manage db sync
74} 74}
75 75
76PACKAGES += "${SRCNAME}-common ${SRCNAME}-compute ${SRCNAME}-controller"
76 77
78FILES_${PN} = "${libdir}/*"
77 79
78FILES_${PN} += "${sysconfdir}/${SRCNAME}/* \ 80FILES_${SRCNAME}-common = " ${bindir}/nova-manage \
79 ${sysconfdir}/sudoers.d " 81 ${bindir}/nova-rootwrap \
82 ${sysconfdir}/${SRCNAME}/* \
83 ${sysconfdir}/sudoers.d"
80 84
81RDEPENDS_${PN} = "openssl openssl-misc libxml2 libxslt iptables curl dnsmasq sudo procps\ 85FILES_${SRCNAME}-compute = "${bindir}/nova-compute \
82 qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh \ 86 ${sysconfdir}/init.d/nova-compute"
83 python-modules \ 87
88FILES_${SRCNAME}-controller = "${bindir}/* \
89 ${sysconfdir}/init.d/nova-all"
90
91RDEPENDS_${PN} = " python-modules \
84 python-misc \ 92 python-misc \
85 python-argparse \ 93 python-argparse \
86 libvirt-python \
87 libvirt-libvirtd \
88 python-amqplib \ 94 python-amqplib \
89 python-anyjson \ 95 python-anyjson \
90 python-babel \ 96 python-babel \
@@ -117,3 +123,12 @@ RDEPENDS_${PN} = "openssl openssl-misc libxml2 libxslt iptables curl dnsmasq sud
117 python-webob \ 123 python-webob \
118 python-websockify \ 124 python-websockify \
119 " 125 "
126
127RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \
128 iptables curl dnsmasq sudo procps"
129
130RDEPENDS_${SRCNAME}-compute = "${PN} nova-common \
131 qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh"
132
133RDEPENDS_${SRCNAME}-controller = "${PN} nova-common \
134 postgresql postgresql-client python-psycopg2"