Message ID | 20240512074459.1360700-1-peterlin@andestech.com |
---|---|
State | Accepted |
Headers | show |
Series | package/kmon: new package | expand |
Hello! On Sun, 12 May 2024 15:44:59 +0800 Yu Chien Peter Lin via buildroot <buildroot@buildroot.org> wrote: > Add Kmon, a Rust-based, text-UI tool for managing Linux kernel > modules and monitoring kernel activities, providing a single > interface for various tools like dmesg and kmod. > > Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Thanks a lot for your patch, and sorry for the delay in getting back to you. I have applied your patch, with some small changes. See below. > --- > package/Config.in | 1 + > package/kmon/Config.in | 9 +++++++++ > package/kmon/kmon.hash | 4 ++++ > package/kmon/kmon.mk | 12 ++++++++++++ > 4 files changed, 26 insertions(+) An entry in the DEVELOPERS file was missing, so I added it. > +KMON_VERSION = v1.6.5 > +KMON_SITE = $(call github,orhun,kmon,$(KMON_VERSION)) Here we don't want the "v" in "v1.6.5" to be in the KMON_VERSION, but in KMON_SITE, so that KMON_VERSION has a chance to match with the version reported by the release-monitoring.org service. As said: applied with those 2 (small) changes. Thanks! Thomas
diff --git a/package/Config.in b/package/Config.in index 0c17154877..f17547775e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2753,6 +2753,7 @@ menu "System tools" source "package/jailhouse/Config.in" source "package/keyutils/Config.in" source "package/kmod/Config.in" + source "package/kmon/Config.in" source "package/kvmtool/Config.in" source "package/libostree/Config.in" source "package/libvirt/Config.in" diff --git a/package/kmon/Config.in b/package/kmon/Config.in new file mode 100644 index 0000000000..7c56f387fa --- /dev/null +++ b/package/kmon/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_KMON + bool "kmon" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + help + kmon provides a terminal UI for managing kernel modules + and monitoring kernel activities. + + https://github.com/orhun/kmon diff --git a/package/kmon/kmon.hash b/package/kmon/kmon.hash new file mode 100644 index 0000000000..87b7ab5986 --- /dev/null +++ b/package/kmon/kmon.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 bc2d495bfca48cdfe4d4e3cab1dafd887ebbca9310a99613182b4f26c530acc5 kmon-v1.6.5.tar.gz +sha256 f1d7ca1381b10a10523fbde322ffcd54245328b1b442a9d3e348c800279a29de kmon-v1.6.5-cargo2.tar.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSE diff --git a/package/kmon/kmon.mk b/package/kmon/kmon.mk new file mode 100644 index 0000000000..5208124223 --- /dev/null +++ b/package/kmon/kmon.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# kmon +# +################################################################################ + +KMON_VERSION = v1.6.5 +KMON_SITE = $(call github,orhun,kmon,$(KMON_VERSION)) +KMON_LICENSE = GPL-3.0 +KMON_LICENSE_FILES = LICENSE + +$(eval $(cargo-package))
Add Kmon, a Rust-based, text-UI tool for managing Linux kernel modules and monitoring kernel activities, providing a single interface for various tools like dmesg and kmod. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> --- package/Config.in | 1 + package/kmon/Config.in | 9 +++++++++ package/kmon/kmon.hash | 4 ++++ package/kmon/kmon.mk | 12 ++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/kmon/Config.in create mode 100644 package/kmon/kmon.hash create mode 100644 package/kmon/kmon.mk