dev-manual: mention RM_WORK_EXCLUDE with inheriting rm_work

Submitted by Robert P. J. Day on Feb. 17, 2020, 1:12 p.m. | Patch ID: 170166

Details

Message ID alpine.LFD.2.21.2002170811030.2323392@localhost.localdomain
State New
Headers show

Commit Message

Robert P. J. Day Feb. 17, 2020, 1:12 p.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

Patch hide | download patch | download mbox

diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 1e6addde4..721b6c719 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -8986,6 +8986,12 @@ 
             </literallayout>
             Adding this statement deletes the work directory used for building
             a recipe once the recipe is built.
+            If "rm_work" is currently selected, you can override that cleaning
+            on a per-recipe basis (typically for debugging purposes) by adding a
+            line of this form to your <filename>local.conf</filename> file:
+            <literallayout class='monospaced'>
+     RM_WORK_EXCLUDE += "busybox"
+            </literallayout>
             For more information on "rm_work", see the
             <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-rm-work'><filename>rm_work</filename></ulink>
             class in the Yocto Project Reference Manual.

Comments

Quentin Schulz Feb. 17, 2020, 1:53 p.m.
Hi Robert,

On Mon, Feb 17, 2020 at 08:12:35AM -0500, rpjday@crashcourse.ca wrote:
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 
> ---
> 
> diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
> index 1e6addde4..721b6c719 100644
> --- a/documentation/dev-manual/dev-manual-common-tasks.xml
> +++ b/documentation/dev-manual/dev-manual-common-tasks.xml
> @@ -8986,6 +8986,12 @@
>              </literallayout>
>              Adding this statement deletes the work directory used for building
>              a recipe once the recipe is built.
> +            If "rm_work" is currently selected, you can override that cleaning
> +            on a per-recipe basis (typically for debugging purposes) by adding a
> +            line of this form to your <filename>local.conf</filename> file:
> +            <literallayout class='monospaced'>
> +     RM_WORK_EXCLUDE += "busybox"
> +            </literallayout>
>              For more information on "rm_work", see the
>              <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-rm-work'><filename>rm_work</filename></ulink>
>              class in the Yocto Project Reference Manual.
> 

RM_WORK_EXCLUDE is explained in the link provided just below your
change.
I'd think it's not needed to duplicate the information, especially
because we link to it?

Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#30): https://lists.yoctoproject.org/g/docs/message/30
Mute This Topic: https://lists.yoctoproject.org/mt/71348631/3617530
Group Owner: docs+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/docs/leave/7795330/49612075/xyzzy  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-
Robert P. J. Day Feb. 17, 2020, 1:54 p.m.
On Mon, 17 Feb 2020, Quentin Schulz wrote:

> Hi Robert,
>
> On Mon, Feb 17, 2020 at 08:12:35AM -0500, rpjday@crashcourse.ca wrote:
> >
> > Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> >
> > ---
> >
> > diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
> > index 1e6addde4..721b6c719 100644
> > --- a/documentation/dev-manual/dev-manual-common-tasks.xml
> > +++ b/documentation/dev-manual/dev-manual-common-tasks.xml
> > @@ -8986,6 +8986,12 @@
> >              </literallayout>
> >              Adding this statement deletes the work directory used for building
> >              a recipe once the recipe is built.
> > +            If "rm_work" is currently selected, you can override that cleaning
> > +            on a per-recipe basis (typically for debugging purposes) by adding a
> > +            line of this form to your <filename>local.conf</filename> file:
> > +            <literallayout class='monospaced'>
> > +     RM_WORK_EXCLUDE += "busybox"
> > +            </literallayout>
> >              For more information on "rm_work", see the
> >              <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-rm-work'><filename>rm_work</filename></ulink>
> >              class in the Yocto Project Reference Manual.
> >
>
> RM_WORK_EXCLUDE is explained in the link provided just below your
> change. I'd think it's not needed to duplicate the information,
> especially because we link to it?

  fair enough.

rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#31): https://lists.yoctoproject.org/g/docs/message/31
Mute This Topic: https://lists.yoctoproject.org/mt/71348631/3617530
Group Owner: docs+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/docs/leave/7795330/49612075/xyzzy  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-