diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova-controller_2013.1.3.bb | 16 |
1 files changed, 13 insertions, 3 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 \ | |||
| 12 | inherit controller update-rc.d | 12 | inherit controller update-rc.d |
| 13 | 13 | ||
| 14 | PACKAGES = "${SRCNAME}-controller ${SRCNAME}-controller-misc" | 14 | PACKAGES = "${SRCNAME}-controller ${SRCNAME}-controller-misc" |
| 15 | # PACKAGES = "${SRCNAME}-controller-misc ${SRCNAME}-controller" | ||
| 15 | 16 | ||
| 16 | do_install_append() { | 17 | do_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}" | |
| 41 | FILES_${SRCNAME}-controller = "${files_${SRCNAME}-controller}" | 42 | FILES_${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 |
| 44 | FILES_${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}}" |
| 48 | FILES_${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 | ||
| 46 | RDEPENDS_${SRCNAME}-controller = "${PYTHON_PN} ${SRCNAME}-common \ | 56 | RDEPENDS_${SRCNAME}-controller = "${PYTHON_PN} ${SRCNAME}-common \ |
| 47 | postgresql postgresql-client python-psycopg2" | 57 | postgresql postgresql-client python-psycopg2" |
