Re: [PATCH] lttng-tools: not rrecommend on lttng-modules

Kai
2026-03-18T07:46:08Z

On 3/18/26 15:37, Richard Purdie wrote:
> On Mon, 2026-03-02 at 14:40 +0800, kai.kang@windriver.com wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> 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 <kai.kang@windriver.com>
> The removal of the dependency probably makes sense but we need to add
> lttng-modules to packagegroup-core-tools-profile instead.

OK. v2 will be sent.

Thanks,

Kai

>
> Cheers,
>
> Richard
>

--
Kai Kang
Wind River Linux