summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb b/meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb
new file mode 100644
index 0000000..204313d
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb
@@ -0,0 +1,35 @@
1
2include python-nova.inc
3
4PR = "r0"
5
6FILESEXTRAPATHS := "${THISDIR}/${PYTHON_PN}"
7
8SRC_URI += "file://nova-compute \
9 file://nova.conf \
10 file://openrc \
11 "
12
13inherit compute update-rc.d
14
15PACKAGES = "${SRCNAME}-compute ${SRCNAME}-compute-misc"
16
17do_install_append() {
18 if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
19 install -d ${D}${sysconfdir}/init.d
20 install -m 0755 ${WORKDIR}/nova-compute ${D}${sysconfdir}/init.d/nova-compute
21 fi
22}
23
24FILES_${SRCNAME}-compute = " ${files_${SRCNAME}-compute}"
25
26# the controller is built, so we package it out of the way
27FILES_${SRCNAME}-compute-misc = "${files_${SRCNAME}-controller} ${files_${SRCNAME}-common} ${files_${PYTHON_PN}}"
28
29RDEPENDS_${SRCNAME}-compute = "${PYTHON_PN} ${SRCNAME}-common \
30 qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh"
31
32RCONFLICTS_${SRCNAME}-compute = "${SRCNAME}-controller"
33
34INITSCRIPT_PACKAGES = "${SRCNAME}-compute"
35INITSCRIPT_NAME_${SRCNAME}-compute = "nova-compute"