From 22e23418d2508b8b89cd6fcc9d473236c992de56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= Date: Sun, 12 Apr 2026 12:39:17 +0200 Subject: [PATCH] atop: Add packages atop-acctd and atop-gpud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some users these programmes might be useful. Signed-off-by: Jörg Sommer Signed-off-by: Khem Raj --- meta-oe/recipes-support/atop/atop_2.12.1.bb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/atop/atop_2.12.1.bb b/meta-oe/recipes-support/atop/atop_2.12.1.bb index 4ca74edbaf..92665fa464 100644 --- a/meta-oe/recipes-support/atop/atop_2.12.1.bb +++ b/meta-oe/recipes-support/atop/atop_2.12.1.bb @@ -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"