Index: final-preps/addinguser.xml
===================================================================
--- final-preps/addinguser.xml (revision 7c910072e2a063dc41be00f6a6bb2df3cd947f51)
+++ final-preps/addinguser.xml (revision 9531391f779ca8f1850d3da897192ff30355580d)
@@ -79,10 +79,12 @@
Grant lfs full access to
- $LFS and $LFS/tools by making $LFS,
+ $LFS/cross-tools,
+ and $LFS/tools by making lfs the directories owner:
chown lfs $LFS
-chown lfs $LFS/tools
+chown lfs $LFS/tools
+chown lfs $LFS/cross-tools
If a separate working directory was created as suggested, we will
Index: final-preps/creatingcrossdir.xml
===================================================================
--- final-preps/creatingcrossdir.xml (revision 7c910072e2a063dc41be00f6a6bb2df3cd947f51)
+++ final-preps/creatingcrossdir.xml (revision 9531391f779ca8f1850d3da897192ff30355580d)
@@ -9,8 +9,8 @@
- Creating the $HOME/cross-tools Directory
+ Creating the $LFS/cross-tools Directory
All programs compiled in will
- be installed under $HOME/cross-tools
+ be installed under $LFS/cross-tools
to keep them separate from the host programs. The programs compiled here are
cross tools and will not be a part of the final LFS system. By keeping these
@@ -21,5 +21,5 @@
the lfs user:
-install -d $HOME/cross-tools
+install -d $LFS/cross-tools
The next step is to create a root:
-exit
-LFSHOME=`echo ~lfs`
-ln -s $LFSHOME/cross-tools /
-unset LFSHOME
-su - lfs
+ln -s $LFS/cross-tools /
- TO BE REWRITTEN - The created symlink enables the toolchain to be
- compiled so that
+ The created symlink enables the toolchain to be compiled so that
it always refers to /cross-tools,
- meaning that the compiler, assembler, and linker will work both in
- this chapter and this host architecture and in the next (when we are
- chrooted
to the LFS partition).
+ meaning that the compiler, assembler, and linker will be avaialble for
+ use later if some unforseen circumstances happen.
Index: final-preps/creatingtoolsdir.xml
===================================================================
--- final-preps/creatingtoolsdir.xml (revision 7c910072e2a063dc41be00f6a6bb2df3cd947f51)
+++ final-preps/creatingtoolsdir.xml (revision 9531391f779ca8f1850d3da897192ff30355580d)
@@ -40,11 +40,8 @@
- TO BE REWRiTTEN - The created symlink enables the toolchain to be
- compiled so that
+ The created symlink enables the toolchain to be compiled so that
it always refers to /tools,
- meaning that the compiler, assembler, and linker will work both in
- this chapter (when we are still using some tools from the host) and in
- the next (when we are chrooted
to the LFS
- partition).
+ meaning that the compiler, assembler, and linker will work. This will
+ provide a common place for our temporary tools system.