Skip to contentSkip to conversation

ref-manual: add entry for rm_work_and_downloads.bbclass

PATCH New Robert P. J. Day 1 participant 1 message Apr 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: add entry for rm_work_and_downloads.bbclass

---

documentation/ref-manual/ref-classes.xml +15 -0
index f9bbddd72..2506da5f5 100644
@@ -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>
 
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
========================================================================