From 4b934fe1b660757fe74aeb9e5e528c3a1631c18d Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 11 Dec 2013 15:58:06 -0500 Subject: ceilometer: add -tests package to deploy run_tests.sh on target Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-openstack/recipes-devtools/python') 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() { sed 's:@suffix@:agent-compute:' < ${WORKDIR}/ceilometer.init >${WORKDIR}/ceilometer-agent-compute.init.sh install -m 0755 ${WORKDIR}/ceilometer-agent-compute.init.sh ${D}${sysconfdir}/init.d/ceilometer-agent-compute fi + + cp run-tests.sh ${CEILOMETER_CONF_DIR} } pkg_postinst_${SRCNAME}-setup () { @@ -77,12 +79,15 @@ pkg_postinst_${SRCNAME}-setup () { inherit setuptools identity hosts update-rc.d +PACKAGES += " ${SRCNAME}-tests" PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" ALLOW_EMPTY_${SRCNAME}-setup = "1" FILES_${PN} = "${libdir}/*" +FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run-tests.sh" + FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ " -- cgit v1.2.3-54-g00ecf