Skip to contentSkip to conversation

dev-manual: mention RM_WORK_EXCLUDE with inheriting rm_work

PATCH In review [email protected] 2 participants 3 messages Feb 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: mention RM_WORK_EXCLUDE with inheriting rm_work

---

documentation/dev-manual/dev-manual-common-tasks.xml +6 -0
index 1e6addde4..721b6c719 100644
@@ -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.
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Hi Robert,

Quoted 13 lines · On Mon, Feb 17, 2020 at 08:12:35AM -0500, [email protected] wrote:

---

documentation/dev-manual/dev-manual-common-tasks.xml +0 -0
index 1e6addde4..721b6c719 100644
@@ -8986,6 +8986,12 @@
             </literallayout>
             Adding this statement deletes the work directory used for building

documentation/dev-manual/dev-manual-common-tasks.xml line 8997

Quoted 10 lines
documentation/dev-manual/dev-manual-common-tasks.xml +6 -0
             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

#2 lore raw
Quoted 22 lines · Quentin Schulz

Hi Robert,

Quoted 19 lines · On Mon, Feb 17, 2020 at 08:12:35AM -0500, [email protected] wrote:

---

documentation/dev-manual/dev-manual-common-tasks.xml +6 -0
index 1e6addde4..721b6c719 100644
@@ -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>
Quoted 8 lines

documentation/dev-manual/dev-manual-common-tasks.xml line 8997

Quoted 4 lines
documentation/dev-manual/dev-manual-common-tasks.xml +0 -0
             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