From aa73618df5474f1c51c0c37a32831d04e8435cc9 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 26 Mar 2014 08:12:43 -0600 Subject: dev-manual, ref-manual: Noting TMPDIR cannot be on NFS Fixes [YOCTO #5442] Updated the TMPDIR variable to call out the scenario where a user might want to separtely set TMPDIR to a local drive and thus be able to have the Build Directory on NFS. Updated the "Build Directory" term with a note indicating that by default, TMPDIR is inside the Build Directory and thus cannot be on NFS. However, the user is able to by-pass that per setting TMPDIR separately outside of the Build Directory. (From yocto-docs rev: a5a308c512a3f4285bce16f17974dbf6b67432b2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-newbie.xml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'documentation/dev-manual/dev-manual-newbie.xml') diff --git a/documentation/dev-manual/dev-manual-newbie.xml b/documentation/dev-manual/dev-manual-newbie.xml index 1245345cc4..3d4a9b225f 100644 --- a/documentation/dev-manual/dev-manual-newbie.xml +++ b/documentation/dev-manual/dev-manual-newbie.xml @@ -520,9 +520,10 @@ Build Directory: - This term refers to the area used by the OpenEmbedded build system for builds. - The area is created when you source the setup - environment script that is found in the Source Directory + This term refers to the area used by the OpenEmbedded build + system for builds. + The area is created when you source the + setup environment script that is found in the Source Directory (i.e. &OE_INIT_FILE; or oe-init-build-env-memres). @@ -566,7 +567,22 @@ $ source $HOME/poky/&OE_INIT_FILE; $HOME/mybuilds/YP-&POKYVERSION; - + + By default, the Build Directory contains + TMPDIR, + which is a temporary directory the build system uses for + its work. + TMPDIR cannot be under NFS. + Thus, by default, the Build Directory cannot be under NFS. + However, if you need the Build Directory to be under NFS, + you can set this up by setting TMPDIR + in your local.conf file + to use a local drive. + Doing so effectively separates TMPDIR + from TOPDIR, which is the Build + Directory. + + Build System: In the context of the Yocto Project, this term refers to the OpenEmbedded build system used by the project. -- cgit v1.2.3-54-g00ecf