diff options
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.bb | 35 |
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 | |||
| 2 | include python-nova.inc | ||
| 3 | |||
| 4 | PR = "r0" | ||
| 5 | |||
| 6 | FILESEXTRAPATHS := "${THISDIR}/${PYTHON_PN}" | ||
| 7 | |||
| 8 | SRC_URI += "file://nova-compute \ | ||
| 9 | file://nova.conf \ | ||
| 10 | file://openrc \ | ||
| 11 | " | ||
| 12 | |||
| 13 | inherit compute update-rc.d | ||
| 14 | |||
| 15 | PACKAGES = "${SRCNAME}-compute ${SRCNAME}-compute-misc" | ||
| 16 | |||
| 17 | do_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 | |||
| 24 | FILES_${SRCNAME}-compute = " ${files_${SRCNAME}-compute}" | ||
| 25 | |||
| 26 | # the controller is built, so we package it out of the way | ||
| 27 | FILES_${SRCNAME}-compute-misc = "${files_${SRCNAME}-controller} ${files_${SRCNAME}-common} ${files_${PYTHON_PN}}" | ||
| 28 | |||
| 29 | RDEPENDS_${SRCNAME}-compute = "${PYTHON_PN} ${SRCNAME}-common \ | ||
| 30 | qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh" | ||
| 31 | |||
| 32 | RCONFLICTS_${SRCNAME}-compute = "${SRCNAME}-controller" | ||
| 33 | |||
| 34 | INITSCRIPT_PACKAGES = "${SRCNAME}-compute" | ||
| 35 | INITSCRIPT_NAME_${SRCNAME}-compute = "nova-compute" | ||
