Re: [docs] [PATCH] ref-manual: document "RM_WORK_EXCLUDE_ITEMS" for rm_work.bbclass

"Antonin Godard" <[email protected]>
Newsgroups org.yoctoproject.lists.docs
Message-ID <[email protected]>
Hi,

On Thu Jun 11, 2026 at 12:34 PM CEST, Robert P. J. Day wrote:
>
> Add an explanation of RM_WORK_EXCLUDE_ITEMS for rm_work.bbclass.
>
> Signed-off-by: Robert P. J. Day <[email protected]>
>
> ---
>
> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
> index 95e07f85a..36b730823 100644
> --- a/documentation/ref-manual/classes.rst
> +++ b/documentation/ref-manual/classes.rst
> @@ -2614,6 +2614,12 @@ which can also be set in your ``local.conf`` file. Here is an example::
>
>     RM_WORK_EXCLUDE += "busybox glibc"
>
> +Finally, if you are using this class for a recipe but want to prevent BitBake

s/BitBake/:term:`BitBake`/

> +from deleting specific folders or files in that recipe's ``${WORKDIR}``

s/``${WORKDIR}``/:term:`WORKDIR`/

> +(other than ``temp``), you can preserve those folders or files with::
> +
> +   RM_WORK_EXCLUDE_ITEMS += "stuff_to_keep"

s/stuff/items/

> +
>  .. _ref-classes-rootfs*:
>
>  ``rootfs*``


Antonin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.