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:16:07 +0100
commit21c0019f446e75007f177aad0d1151601fbf28b6 (patch)
tree6b6cce8b3b9ad3cf25b3a3102713bfb0b6f12b9e /documentation/dev-manual
parent58af92b17e2068f6f653098680abbd3b03b82ba0 (diff)
downloadpoky-21c0019f446e75007f177aad0d1151601fbf28b6.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