diff options
author | Erwann Roussy <erwann.roussy@savoirfairelinux.com> | 2022-12-06 11:34:46 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-06 09:23:33 -0800 |
commit | e38aa4c689beea4391bc322a5cd744301ca3b024 (patch) | |
tree | 40850ffa2bf3a17d54d0beb23af1772f3cac3c28 | |
parent | fa616dca0a910aa75565de4988bc7a83102ed17a (diff) | |
download | meta-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.bb | 24 |
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 @@ | |||
1 | SUMMARY = "cui/gui tool for tuning of running processes" | ||
2 | HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Tuna" | ||
3 | LICENSE = "GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | ||
5 | |||
6 | SRC_URI = "git://git.kernel.org/pub/scm/utils/tuna/tuna.git;branch=main" | ||
7 | |||
8 | SRCREV = "0681906e75e1c8166126bbfc2f3055e7507bfcb5" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | RDEPENDS:${PN} += " \ | ||
13 | python3-io \ | ||
14 | python3-linux-procfs \ | ||
15 | python3-logging \ | ||
16 | python3-six \ | ||
17 | " | ||
18 | |||
19 | inherit setuptools3 | ||
20 | |||
21 | do_install:append() { | ||
22 | install -m 0755 -d ${D}${bindir} | ||
23 | install -m 0755 ${S}/tuna-cmd.py ${D}${bindir}/tuna | ||
24 | } | ||