DESCRIPTION = " \ This package contains data collection tools to monitor host performance. \ Tools are general purpose engineering and debugging related. Includes \ overall memory, cpu occupancy, per-task cpu, per-task scheduling, per-task \ io. \ " SUMMARY = "Host performance data collection tools package" require utilities-common.inc SUBPATH0 = "tools/engtools/hostdata-collectors/scripts" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI += "file://collect-engtools-fix-service-name-binary-path.patch;striplevel=5" RDEPENDS_collect-engtools += " \ iperf3 \ bash \ perl \ python \ " inherit systemd DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit" SYSTEMD_PACKAGES += "${PN}" SYSTEMD_SERVICE_${PN} = " ${PN}.service" SYSTEMD_AUTO_ENABLE_${PN} = "disable" do_configure[noexec] = "1" do_compile[noexec] = "1" do_install_append() { install -d -m0755 ${D}/${bindir} install -m 755 buddyinfo.py ${D}/${bindir} install -m 755 chewmem ${D}/${bindir} install -m 755 ceph.sh ${D}/${bindir} install -m 755 cleanup-engtools.sh ${D}/${bindir} install -m 755 collect-engtools.sh ${D}/${bindir} install -m 755 diskstats.sh ${D}/${bindir} install -m 755 engtools_util.sh ${D}/${bindir} install -m 755 filestats.sh ${D}/${bindir} install -m 755 iostat.sh ${D}/${bindir} install -m 755 linux_benchmark.sh ${D}/${bindir} install -m 755 memstats.sh ${D}/${bindir} install -m 755 netstats.sh ${D}/${bindir} install -m 755 postgres.sh ${D}/${bindir} install -m 755 rabbitmq.sh ${D}/${bindir} install -m 755 remote/rbzip2-engtools.sh ${D}/${bindir} install -m 755 remote/rstart-engtools.sh ${D}/${bindir} install -m 755 remote/rstop-engtools.sh ${D}/${bindir} install -m 755 remote/rsync-engtools-data.sh ${D}/${bindir} install -m 755 slab.sh ${D}/${bindir} install -m 755 ticker.sh ${D}/${bindir} install -m 755 top.sh ${D}/${bindir} install -m 755 vswitch.sh ${D}/${bindir} install -m 755 live_stream.py ${D}/${bindir} install -p -d -m0755 ${D}/${sysconfdir}/engtools/ install -m0644 -p cfg/engtools.conf ${D}/${sysconfdir}/engtools install -d -m0755 ${D}/${sysconfdir}/init.d install -m0755 init.d/collect-engtools.sh ${D}/${sysconfdir}/init.d install -d -m0755 ${D}/${systemd_system_unitdir} install -m0644 -p -D collect-engtools.service ${D}/${systemd_system_unitdir} sed -i -e 's|/local/bin|/bin|g' ${D}/${sysconfdir}/init.d/collect-engtools.sh }