atop: Add packages atop-acctd and atop-gpud

For some users these programmes might be useful.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Jörg Sommer
2026-04-12 12:39:17 +02:00
committed by Khem Raj
parent a2d9a9be5f
commit 22e23418d2
+7 -4
View File
@@ -7,7 +7,7 @@ etc. At regular intervals, it shows system-level activity related to the CPU, \
memory, swap, disks (including LVM) and network layers, and for every process \
(and thread) it shows e.g. the CPU utilization, memory growth, disk \
utilization, priority, username, state, and exit code."
HOMEPAGE = "http://www.atoptool.nl"
HOMEPAGE = "https://www.atoptool.nl"
SECTION = "console/utils"
LICENSE = "GPL-2.0-only"
@@ -51,16 +51,19 @@ do_install() {
# /var/log/atop will be created in runtime
rm -rf ${D}${localstatedir}/log
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
# remove atopacct related files
rm -rf ${D}${sbindir} ${D}${mandir}/man8
}
inherit systemd
PACKAGES =+ "${PN}-acctd ${PN}-gpud"
SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service"
SYSTEMD_AUTO_ENABLE = "disable"
FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer"
FILES:${PN}-acctd += "${sbindir}/atopacctd ${mandir}/man8/atopacctd.8"
FILES:${PN}-gpud += "${sbindir}/atopgpud ${mandir}/man8/atopgpud.8"
RDEPENDS:${PN} = "procps"
RDEPENDS:${PN}-gpud = "python3-core"
RRECOMMENDS:${PN} = "${PN}-acctd ${PN}-gpud"