diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-04 00:26:04 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-04 00:26:04 -0400 |
| commit | 6806482a7ba6f020b0cff44b2b797eede2b702af (patch) | |
| tree | cfc7df9ca2c8e110ebe8a5b94c782c691b8f5878 /meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb | |
| parent | ce230a25691dab2c8f3c7b9fc7ef37d548f8f90b (diff) | |
| download | meta-cloud-services-6806482a7ba6f020b0cff44b2b797eede2b702af.tar.gz | |
python-nova: unify controller and compute recipes
The split of compute and controller is no longer necesary, since configuration
inheritance is done with overriding layers, not split recipes.
This simplifies the build, and packaging of the recipe. Good riddance.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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 | 51 |
1 files changed, 0 insertions, 51 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 deleted file mode 100644 index 2511b28..0000000 --- a/meta-openstack/recipes-devtools/python/python-nova-compute_2013.1.3.bb +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 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 hosts update-rc.d | ||
| 14 | |||
| 15 | PACKAGES = "${PN} ${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 | |||
| 28 | #FILES_${SRCNAME}-compute-misc = "${files_${SRCNAME}-controller} | ||
| 29 | #${files_${SRCNAME}-common} ${files_${PYTHON_PN}}" | ||
| 30 | |||
| 31 | FILES_${PN} = "${libdir}/python*" | ||
| 32 | |||
| 33 | FILES_${SRCNAME}-compute = " \ | ||
| 34 | ${bindir}/nova-compute \ | ||
| 35 | ${sysconfdir}/${SRCNAME}/* \ | ||
| 36 | ${sysconfdir}/init.d/nova-compute" | ||
| 37 | |||
| 38 | FILES_${SRCNAME}-compute-misc = " \ | ||
| 39 | ${bindir} \ | ||
| 40 | ${sysconfdir}/init.d/nova-all \ | ||
| 41 | ${bindir}/nova-manage \ | ||
| 42 | ${bindir}/nova-rootwrap \ | ||
| 43 | ${sysconfdir}/sudoers.d" | ||
| 44 | |||
| 45 | RDEPENDS_${SRCNAME}-compute = "${PYTHON_PN} ${SRCNAME}-common \ | ||
| 46 | qemu libvirt libvirt-libvirtd libvirt-python libvirt-virsh" | ||
| 47 | |||
| 48 | RCONFLICTS_${SRCNAME}-compute = "${SRCNAME}-controller" | ||
| 49 | |||
| 50 | INITSCRIPT_PACKAGES = "${SRCNAME}-compute" | ||
| 51 | INITSCRIPT_NAME_${SRCNAME}-compute = "nova-compute" | ||
