summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-openstack/recipes-devtools/python/python-ceilometer_git.bb5
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
61pkg_postinst_${SRCNAME}-setup () { 63pkg_postinst_${SRCNAME}-setup () {
@@ -77,12 +79,15 @@ pkg_postinst_${SRCNAME}-setup () {
77 79
78inherit setuptools identity hosts update-rc.d 80inherit setuptools identity hosts update-rc.d
79 81
82PACKAGES += " ${SRCNAME}-tests"
80PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" 83PACKAGES += "${SRCNAME}-setup ${SRCNAME}-common ${SRCNAME}-api ${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller"
81 84
82ALLOW_EMPTY_${SRCNAME}-setup = "1" 85ALLOW_EMPTY_${SRCNAME}-setup = "1"
83 86
84FILES_${PN} = "${libdir}/*" 87FILES_${PN} = "${libdir}/*"
85 88
89FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run-tests.sh"
90
86FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \ 91FILES_${SRCNAME}-common = "${sysconfdir}/${SRCNAME}/* \
87" 92"
88 93