From 81fd230419b0cfd052b08fc1ed352bb7d49975df Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 19 Feb 2005 22:16:42 +0000 Subject: Trunk is now identical to Testing git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter04/aboutlfs.xml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'chapter04/aboutlfs.xml') diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml index 2c270a08a..64f20f1b4 100644 --- a/chapter04/aboutlfs.xml +++ b/chapter04/aboutlfs.xml @@ -7,6 +7,29 @@ About $LFS -See testing +Throughout this book, the environment variable LFS will +be used several times. It is paramount that this variable is always defined. +It should be set to the mount point chosen for the LFS partition. +Check that the LFS variable is set up properly with: + +echo $LFS + +Make sure the output shows the path to the LFS partition's mount +point, which is /mnt/lfs if the +provided example was followed. If the output is incorrect, the +variable can be set with: + +export LFS=/mnt/lfs + +Having this variable set is beneficial in that commands such as +mkdir $LFS/tools can be typed literally. The shell +will automatically replace $LFS with +/mnt/lfs (or whatever the variable was set to) when it +processes the command line. + +Do not forget to check that $LFS is set whenever +you leave and reenter the current working environment (as when doing a +su to root or another user). + -- cgit v1.2.3-54-g00ecf