From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: "YP docs mailing list" <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] variables.rst: expand explanation of RSUGGESTS
Date: Tue, 24 Feb 2026 15:10:35 +0100 [thread overview]
Message-ID: <DGN93LAGKN33.N7GHO5RYLFNG@bootlin.com> (raw)
In-Reply-To: <1b69d976-4159-354d-a283-bd06bedef3b7@crashcourse.ca>
Hi,
On Tue Feb 24, 2026 at 1:55 PM CET, Robert P. J. Day wrote:
> On Tue, 24 Feb 2026, Antonin Godard via lists.yoctoproject.org wrote:
>
>> Hi,
>>
>> On Tue Feb 24, 2026 at 1:15 PM CET, Robert P. J. Day wrote:
>> >
>> > Add that the RSUGGESTS variable would be processed only by a
>> > supporting package manager when installing packages from a
>> > package feed.
>> >
>> > Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>> >
>> > ---
>> >
>> > diff --git a/documentation/ref-manual/variables.rst
>> > b/documentation/ref-manual/variables.rst
>> > index 208b5e43d..92476d509 100644
>> > --- a/documentation/ref-manual/variables.rst
>> > +++ b/documentation/ref-manual/variables.rst
>> > @@ -8361,7 +8361,9 @@ system and gives an overview of their function and contents.
>> > :term:`RSUGGESTS`
>> > A list of additional packages that you can suggest for installation
>> > by the package manager at the time a package is installed. Not all
>> > - package managers support this functionality.
>> > + package managers support this functionality. This feature takes effect
>> > + only when the package manager is being used to install packages on
>> > + the target system from a package feed.
>>
>> Could you add a link to the section explaining how to enable this?
>>
>> """
>> See the :ref:`dev-manual/packages:Using Runtime Package Management` section of
>> the Yocto Project Development Tasks Manual for more information on the
>> package management feature.
>> """
>
> oh, man, did this just open up a can of worms. if you check that
> section:
>
> https://docs.yoctoproject.org/dev-manual/packages.html#using-runtime-package-management
>
> it has no reference to RSUGGESTS, so sending readers there might be
> less than useful. so should some explanation of RSUGGESTS be added
> there to provide context?
Let's create a link in the variable definition as a first step, then you can
follow-up with a patch that improves this section, including the mention of
RSUGGESTS.
> and when i scroll to the top of that chapter:
>
> https://docs.yoctoproject.org/dev-manual/packages.html#
>
> the first section, "Excluding Package from an Image", mentions
> PACKAGE_EXCLUDE, but does not mention using IMAGE_INSTALL:remove,
> which is definitely used in places i've run across. should that also
> be mentioned as a way to exclude packages?
IIRC, IMAGE_INSTALL acts on the list of packages fed to the package manager, while
PACKAGE_EXCLUDE will act on package manager specific options to exclude a
certain package from the image, *even if this package is not explicitly listed
in IMAGE_INSTALL*. I believe this is the crucial point.
However, this section should probably start by saying something like:
"""
If the IMAGE_INSTALL variable does not contain a package that you want to
exclude from your image, you can use one of the variables below to exclude it
from the image: ...
"""
> and if so, then that operation should also be mentioned in the
> explanation for IMAGE_INSTALL:
>
> https://docs.yoctoproject.org/ref-manual/variables.html#term-IMAGE_INSTALL
As explained, those act on slightly different places, so not sure I would mix
them up, but if you think it can fit, please propose a patch, I'd be happy to
review it.
Thanks,
Antonin
prev parent reply other threads:[~2026-02-24 14:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 12:17 [PATCH] variables.rst: expand explanation of RSUGGESTS Robert P. J. Day
2026-02-24 12:42 ` [docs] " Antonin Godard
2026-02-24 12:58 ` Robert P. J. Day
2026-02-24 14:05 ` Quentin Schulz
2026-02-24 15:26 ` Robert P. J. Day
2026-02-24 15:29 ` Quentin Schulz
2026-02-24 14:10 ` Antonin Godard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DGN93LAGKN33.N7GHO5RYLFNG@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=rpjday@crashcourse.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox