diff options
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb index 70f9166..436bdbc 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb +++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | |||
| @@ -56,6 +56,8 @@ do_install_append() { | |||
| 56 | sed 's:@suffix@:agent-compute:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-agent-compute.init.sh | 56 | sed 's:@suffix@:agent-compute:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-agent-compute.init.sh |
| 57 | install -m 0755 ${WORKDIR}/ceilometer-agent-compute.init.sh ${D}${sysconfdir}/init.d/ceilometer-agent-compute | 57 | install -m 0755 ${WORKDIR}/ceilometer-agent-compute.init.sh ${D}${sysconfdir}/init.d/ceilometer-agent-compute |
| 58 | fi | 58 | fi |
| 59 | |||
| 60 | cp run-tests.sh ${CEILOMETER_CONF_DIR} | ||
| 59 | } | 61 | } |
| 60 | 62 | ||
| 61 | pkg_postinst_${SRCNAME}-setup () { | 63 | pkg_postinst_${SRCNAME}-setup () { |
| @@ -77,12 +79,15 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 77 | 79 | ||
| 78 | inherit setuptools identity hosts update-rc.d | 80 | inherit setuptools identity hosts update-rc.d |
| 79 | 81 | ||
| 82 | PACKAGES += " ${SRCNAME}-tests" | ||
| 80 | PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | 83 | PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" |
| 81 | 84 | ||
| 82 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 85 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 83 | 86 | ||
| 84 | FILES_${PN} = "${libdir}/*" | 87 | FILES_${PN} = "${libdir}/*" |
| 85 | 88 | ||
| 89 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run-tests.sh" | ||
| 90 | |||
| 86 | FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ | 91 | FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ |
| 87 | " | 92 | " |
| 88 | 93 | ||
