All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ref-manual: add entry for rm_work_and_downloads.bbclass
@ 2020-04-10 18:13 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2020-04-10 18:13 UTC (permalink / raw)
  To: YP docs mailing list


Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index f9bbddd72..2506da5f5 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -2961,6 +2961,21 @@ This check was removed for YP 2.3 release
     </para>
 </section>

+<section id='ref-classes-rm-work-and-downloads'>
+    <title><filename>rm_work_and_downloads.bbclass</filename></title>
+
+    <para>
+        In addition to removing the local build directories of a recipe,
+        this class also removes the downloaded source; it would be invoked
+        thusly:
+        <literallayout class='monospaced'>
+    INHERIT += "rm_work_and_downloads"
+        </literallayout>
+        While this sounds wasteful, where this works well is in well-connected
+        build environments with limited disk space (such as Travis CI).
+    </para>
+</section>
+
 <section id='ref-classes-rootfs*'>
     <title><filename>rootfs*.bbclass</filename></title>


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-10 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 18:13 [PATCH] ref-manual: add entry for rm_work_and_downloads.bbclass Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.