diff options
| author | Jörg Sommer <joerg.sommer@navimatix.de> | 2026-04-12 12:39:17 +0200 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-12 16:42:04 -0700 |
| commit | 22e23418d2508b8b89cd6fcc9d473236c992de56 (patch) | |
| tree | e619adfc2863e71c3e59c0758def17d43460af20 /meta-oe/recipes-support/atop/atop_2.12.1.bb | |
| parent | a2d9a9be5f5cc64966f8f5e148d90bc249d9c42a (diff) | |
| download | meta-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.bb | 11 |
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, \ | |||
| 7 | memory, swap, disks (including LVM) and network layers, and for every process \ | 7 | memory, 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 \ |
| 9 | utilization, priority, username, state, and exit code." | 9 | utilization, priority, username, state, and exit code." |
| 10 | HOMEPAGE = "http://www.atoptool.nl" | 10 | HOMEPAGE = "https://www.atoptool.nl" |
| 11 | SECTION = "console/utils" | 11 | SECTION = "console/utils" |
| 12 | 12 | ||
| 13 | LICENSE = "GPL-2.0-only" | 13 | LICENSE = "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 | ||
| 59 | inherit systemd | 56 | inherit systemd |
| 60 | 57 | ||
| 58 | PACKAGES =+ "${PN}-acctd ${PN}-gpud" | ||
| 59 | |||
| 61 | SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service" | 60 | SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service" |
| 62 | SYSTEMD_AUTO_ENABLE = "disable" | 61 | SYSTEMD_AUTO_ENABLE = "disable" |
| 63 | 62 | ||
| 64 | FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer" | 63 | FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer" |
| 64 | FILES:${PN}-acctd += "${sbindir}/atopacctd ${mandir}/man8/atopacctd.8" | ||
| 65 | FILES:${PN}-gpud += "${sbindir}/atopgpud ${mandir}/man8/atopgpud.8" | ||
| 65 | 66 | ||
| 66 | RDEPENDS:${PN} = "procps" | 67 | RDEPENDS:${PN} = "procps" |
| 68 | RDEPENDS:${PN}-gpud = "python3-core" | ||
| 69 | RRECOMMENDS:${PN} = "${PN}-acctd ${PN}-gpud" | ||
