summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwann Roussy <erwann.roussy@savoirfairelinux.com>2022-12-06 11:34:46 +0100
committerKhem Raj <raj.khem@gmail.com>2022-12-06 09:23:33 -0800
commite38aa4c689beea4391bc322a5cd744301ca3b024 (patch)
tree40850ffa2bf3a17d54d0beb23af1772f3cac3c28
parentfa616dca0a910aa75565de4988bc7a83102ed17a (diff)
downloadmeta-openembedded-e38aa4c689beea4391bc322a5cd744301ca3b024.tar.gz
tuna: add recipe
Tuna is a cui/gui tool for tuning of running processes. It is useful to see and changed irq affinity on an embedded board. The chosen revision of tuna is the last commit to this day and not the last release. This is due to the python3-ethtool module which was required in the last release but isn't anymore. Tuna now has a built-in module instead. Despite tuna's homepage's dependencies section, python3-inet_diag isn't required anymore. Signed-off-by: Erwann Roussy <erwann.roussy@savoirfairelinux.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-extended/tuna/tuna_git.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/tuna/tuna_git.bb b/meta-python/recipes-extended/tuna/tuna_git.bb
new file mode 100644
index 0000000000..a493412403
--- /dev/null
+++ b/meta-python/recipes-extended/tuna/tuna_git.bb
@@ -0,0 +1,24 @@
1SUMMARY = "cui/gui tool for tuning of running processes"
2HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Tuna"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
5
6SRC_URI = "git://git.kernel.org/pub/scm/utils/tuna/tuna.git;branch=main"
7
8SRCREV = "0681906e75e1c8166126bbfc2f3055e7507bfcb5"
9
10S = "${WORKDIR}/git"
11
12RDEPENDS:${PN} += " \
13 python3-io \
14 python3-linux-procfs \
15 python3-logging \
16 python3-six \
17 "
18
19inherit setuptools3
20
21do_install:append() {
22 install -m 0755 -d ${D}${bindir}
23 install -m 0755 ${S}/tuna-cmd.py ${D}${bindir}/tuna
24}