From: Kai Kang Date: Wed, 18 Mar 2026 10:10:24 +0000 (+0800) Subject: lttng-tools: not rrecommend on lttng-modules X-Git-Tag: yocto-6.0_M3~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc58d4db0d674f2a95cd339d8b8d05a551d21ba;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git lttng-tools: not rrecommend on lttng-modules As in the lttng manual [1]: Most distributions mark the LTTng-modules and LTTng-UST packages as optional when installing LTTng-tools (which is always required). In the following sections, we always provide the steps to install all three, but note that: * You only need to install LTTng-modules if you intend to use the Linux kernel LTTng tracer. * You only need to install LTTng-UST if you intend to use the user space LTTng tracer. there should be no force dependency between lttng-tools and lttng-modules. When set lttng-modules in RRECOMMENDS, it always forces to build lttng-modules whether it is required or not. Compare to rpm spec [2] and debian conf [3], there are no any dependency between them too. So remove the RRECOMMENDS setting. [1]: https://lttng.org/docs/v2.14/#doc-installing-lttng [2]: https://rpmfind.net/linux/RPM/fedora/updates/testing/43/aarch64/Packages/l/lttng-tools-2.14.0-4.fc43.aarch64.html [3]: https://packages.debian.org/trixie/lttng-tools Signed-off-by: Kai Kang Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb b/meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb index 620ddfb1cf..3a3f2cff2c 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb @@ -14,7 +14,6 @@ include lttng-platforms.inc DEPENDS = "liburcu popt libxml2 util-linux bison-native babeltrace2" RDEPENDS:${PN} = "libgcc" -RRECOMMENDS:${PN} += "${LTTNGMODULES}" RDEPENDS:${PN}-ptest += "make perl bash gawk procps perl-module-overloading coreutils util-linux kmod ${LTTNGMODULES} sed python3-core grep binutils python3-multiprocessing" RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils" RDEPENDS:${PN}-ptest:append:libc-musl = " musl-utils"