Hi,
As stated in chapter 1.1:
Quote:
Chapter 4 discusses the setup of an appropriate working environment.
|
All that is done in chapter 4 (up to and including chapter 4.3) is from the host and root perspective.
4.1 -> Set the LFS variable for the root user on the host. The export is there to make sure the sub shells also inherit this variable.
4.2 -> Make and link needed directory.
4.3 -> Create the lfs user on your host system. This is done as the root user on your host system. At the end of 4.3 you'll switch to this lfs user and build the temporary system (mainly chapter 5) needed to build the real lfs system (mainly chapter 6).
4.4 -> As user lfs (you switched from root to lfs with the last command in chapter 4.3) create the appropriate files to set a specific environment. The last command in 4.4 "activates" this (you could also have log out the lfs user and logged in again as user lfs).
4.5 -> Set, if you want/need to, the make flag. At this point you are ready to build the temporary lfs system.
Hope this clears things up a bit.