Yocto Project Documentation
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>,
	"YP docs mailing list" <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] ref-manual: document "RM_WORK_EXCLUDE_ITEMS" for rm_work.bbclass
Date: Tue, 16 Jun 2026 15:04:22 +0200	[thread overview]
Message-ID: <DJAHTWUYT6NC.E9JJRMXM8L6A@bootlin.com> (raw)
In-Reply-To: <eb6dc48a-f434-3167-ad28-d348ff1f4e77@crashcourse.ca>

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 <rpjday@crashcourse.ca>
>
> ---
>
> 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


  reply	other threads:[~2026-06-16 13:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-11 10:34 [PATCH] ref-manual: document "RM_WORK_EXCLUDE_ITEMS" for rm_work.bbclass Robert P. J. Day
2026-06-16 13:04 ` Antonin Godard [this message]
2026-06-16 13:05   ` [docs] " Antonin Godard

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=DJAHTWUYT6NC.E9JJRMXM8L6A@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