mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 13:00:02 +00:00
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:
@@ -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 \
|
memory, swap, disks (including LVM) and network layers, and for every process \
|
||||||
(and thread) it shows e.g. the CPU utilization, memory growth, disk \
|
(and thread) it shows e.g. the CPU utilization, memory growth, disk \
|
||||||
utilization, priority, username, state, and exit code."
|
utilization, priority, username, state, and exit code."
|
||||||
HOMEPAGE = "http://www.atoptool.nl"
|
HOMEPAGE = "https://www.atoptool.nl"
|
||||||
SECTION = "console/utils"
|
SECTION = "console/utils"
|
||||||
|
|
||||||
LICENSE = "GPL-2.0-only"
|
LICENSE = "GPL-2.0-only"
|
||||||
@@ -51,16 +51,19 @@ do_install() {
|
|||||||
# /var/log/atop will be created in runtime
|
# /var/log/atop will be created in runtime
|
||||||
rm -rf ${D}${localstatedir}/log
|
rm -rf ${D}${localstatedir}/log
|
||||||
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
|
rmdir --ignore-fail-on-non-empty ${D}${localstatedir}
|
||||||
|
|
||||||
# remove atopacct related files
|
|
||||||
rm -rf ${D}${sbindir} ${D}${mandir}/man8
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
|
PACKAGES =+ "${PN}-acctd ${PN}-gpud"
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service"
|
SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service"
|
||||||
SYSTEMD_AUTO_ENABLE = "disable"
|
SYSTEMD_AUTO_ENABLE = "disable"
|
||||||
|
|
||||||
FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer"
|
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} = "procps"
|
||||||
|
RDEPENDS:${PN}-gpud = "python3-core"
|
||||||
|
RRECOMMENDS:${PN} = "${PN}-acctd ${PN}-gpud"
|
||||||
|
|||||||
Reference in New Issue
Block a user