summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/atop/atop_2.12.1.bb
diff options
context:
space:
mode:
authorJörg Sommer <joerg.sommer@navimatix.de>2026-04-12 12:39:17 +0200
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-12 16:42:04 -0700
commit22e23418d2508b8b89cd6fcc9d473236c992de56 (patch)
treee619adfc2863e71c3e59c0758def17d43460af20 /meta-oe/recipes-support/atop/atop_2.12.1.bb
parenta2d9a9be5f5cc64966f8f5e148d90bc249d9c42a (diff)
downloadmeta-openembedded-22e23418d2508b8b89cd6fcc9d473236c992de56.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-support/atop/atop_2.12.1.bb')
-rw-r--r--meta-oe/recipes-support/atop/atop_2.12.1.bb11
1 files 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, \
7memory, swap, disks (including LVM) and network layers, and for every process \ 7memory, swap, disks (including LVM) and network layers, and for every process \
8(and thread) it shows e.g. the CPU utilization, memory growth, disk \ 8(and thread) it shows e.g. the CPU utilization, memory growth, disk \
9utilization, priority, username, state, and exit code." 9utilization, priority, username, state, and exit code."
10HOMEPAGE = "http://www.atoptool.nl" 10HOMEPAGE = "https://www.atoptool.nl"
11SECTION = "console/utils" 11SECTION = "console/utils"
12 12
13LICENSE = "GPL-2.0-only" 13LICENSE = "GPL-2.0-only"
@@ -51,16 +51,19 @@ do_install() {
51 # /var/log/atop will be created in runtime 51 # /var/log/atop will be created in runtime
52 rm -rf ${D}${localstatedir}/log 52 rm -rf ${D}${localstatedir}/log
53 rmdir --ignore-fail-on-non-empty ${D}${localstatedir} 53 rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
54
55 # remove atopacct related files
56 rm -rf ${D}${sbindir} ${D}${mandir}/man8
57} 54}
58 55
59inherit systemd 56inherit systemd
60 57
58PACKAGES =+ "${PN}-acctd ${PN}-gpud"
59
61SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service" 60SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service"
62SYSTEMD_AUTO_ENABLE = "disable" 61SYSTEMD_AUTO_ENABLE = "disable"
63 62
64FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer" 63FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer"
64FILES:${PN}-acctd += "${sbindir}/atopacctd ${mandir}/man8/atopacctd.8"
65FILES:${PN}-gpud += "${sbindir}/atopgpud ${mandir}/man8/atopgpud.8"
65 66
66RDEPENDS:${PN} = "procps" 67RDEPENDS:${PN} = "procps"
68RDEPENDS:${PN}-gpud = "python3-core"
69RRECOMMENDS:${PN} = "${PN}-acctd ${PN}-gpud"