summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-04-05 08:44:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-24 17:17:42 +0100
commite24511e85bec1966723567537d004346bb80e951 (patch)
treec14fa91fd860be423334118b19b53434dbd22f26 /documentation/dev-manual
parent54ff8be899b345cee70b6f048d9a275a734c63de (diff)
downloadpoky-e24511e85bec1966723567537d004346bb80e951.tar.gz
dev-manual: Added new section on conserving disk space
For conserving disk space during builds, I added a new section that tells how to add "rm_work" to your local.conf file. This information was part of the original YP Quick Start and was not carried forward into the new brief build document. (From yocto-docs rev: 719d70587d908390a134559472d57ce7fced6aae) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 3802c60d3f..4fdcb7b780 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -7670,6 +7670,25 @@ Some notes from Cal:
7670 </para> 7670 </para>
7671 </section> 7671 </section>
7672 7672
7673 <section id='dev-saving-memory-during-a-build'>
7674 <title>Conserving Disk Space During Builds</title>
7675
7676 <para>
7677 To help conserve disk space during builds, you can add the
7678 following statement to your project's
7679 <filename>local.conf</filename> configuration file found in the
7680 <ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>:
7681 <literallayout class='monospaced'>
7682 INHERIT += "rm_work"
7683 </literallayout>
7684 Adding this statement deletes the work directory used for building
7685 a recipe once the recipe is built.
7686 For more information on "rm_work", see the
7687 <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-rm-work'><filename>rm_work</filename></ulink>
7688 class in the Yocto Project Reference Manual.
7689 </para>
7690 </section>
7691
7673 <section id='building-a-tiny-system'> 7692 <section id='building-a-tiny-system'>
7674 <title>Building a Tiny System</title> 7693 <title>Building a Tiny System</title>
7675 7694