r854 - in trunk/BOOK: . final-preps introduction/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Dec 6 15:34:00 PST 2005


Author: jim
Date: 2005-12-06 16:34:00 -0700 (Tue, 06 Dec 2005)
New Revision: 854

Modified:
   trunk/BOOK/
   trunk/BOOK/final-preps/addinguser.xml
   trunk/BOOK/final-preps/creatingcrossdir.xml
   trunk/BOOK/final-preps/creatingtoolsdir.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
 r984 at server:  jim | 2005-12-06 15:32:19 -0800
 Move cross-tools . This will provide a way plan for livecd builds to recover from builds that go wrong.



Property changes on: trunk/BOOK
___________________________________________________________________
Name: svk:merge
   - 3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:982
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790
   + 3949c430-d905-0410-97b6-f115d20341b5:/cross-lfs:984
f6929928-7304-0410-9559-ff6106abff4d:/cross-lfs:790

Modified: trunk/BOOK/final-preps/addinguser.xml
===================================================================
--- trunk/BOOK/final-preps/addinguser.xml	2005-12-06 20:15:49 UTC (rev 853)
+++ trunk/BOOK/final-preps/addinguser.xml	2005-12-06 23:34:00 UTC (rev 854)
@@ -78,12 +78,14 @@
 <screen><userinput>passwd lfs</userinput></screen>
 
   <para>Grant <systemitem class="username">lfs</systemitem> full access to
-  <filename class="directory">$LFS</filename> and <filename
-  class="directory">$LFS/tools</filename> by making <systemitem
+  <filename class="directory">$LFS</filename>,
+  <filename class="directory">$LFS/cross-tools</filename>, 
+  and <filename class="directory">$LFS/tools</filename> by making <systemitem
   class="username">lfs</systemitem> the directories owner:</para>
 
 <screen><userinput>chown lfs $LFS
-chown lfs $LFS/tools</userinput></screen>
+chown lfs $LFS/tools
+chown lfs $LFS/cross-tools</userinput></screen>
 
   <para>If a separate working directory was created as suggested, we will
   show you how to create the directory and give user <systemitem

Modified: trunk/BOOK/final-preps/creatingcrossdir.xml
===================================================================
--- trunk/BOOK/final-preps/creatingcrossdir.xml	2005-12-06 20:15:49 UTC (rev 853)
+++ trunk/BOOK/final-preps/creatingcrossdir.xml	2005-12-06 23:34:00 UTC (rev 854)
@@ -8,10 +8,10 @@
 <sect1 id="ch-final-preps-creatingcrossdir">
   <?dbhtml filename="creatingcrossdir.html"?>
 
-  <title>Creating the $HOME/cross-tools Directory</title>
+  <title>Creating the $LFS/cross-tools Directory</title>
 
   <para>All programs compiled in <xref linkend="chapter-cross-tools"/> will
-  be installed under <filename class="directory">$HOME/cross-tools</filename>
+  be installed under <filename class="directory">$LFS/cross-tools</filename>
   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
   programs in a separate directory, they can easily be discarded later after
@@ -20,7 +20,7 @@
   <para>Create the required directory by running the following as
   the <systemitem class="username">lfs</systemitem> user:</para>
 
-<screen><userinput>install -d $HOME/cross-tools</userinput></screen>
+<screen><userinput>install -d $LFS/cross-tools</userinput></screen>
 
   <para>The next step is to create a <filename
   class="symlink">/cross-tools</filename> symlink on the host system.
@@ -29,17 +29,11 @@
   we need to exit the <command>su</command> and run the symlink command as
   <systemitem class="username">root</systemitem>:</para>
 
-<screen><userinput>exit
-LFSHOME=`echo ~lfs`
-ln -s $LFSHOME/cross-tools /
-unset LFSHOME
-su - lfs</userinput></screen>
+<screen><userinput>ln -s $LFS/cross-tools /</userinput></screen>
 
-  <para>TO BE REWRITTEN - The created symlink enables the toolchain to be
-  compiled so that
+  <para>The created symlink enables the toolchain to be compiled so that
   it always refers to <filename class="directory">/cross-tools</filename>,
-  meaning that the compiler, assembler, and linker will work both in
-  this chapter and this host architecture and in the next (when we are
-  <quote>chrooted</quote> to the LFS partition).</para>
+  meaning that the compiler, assembler, and linker will be avaialble for
+  use later if some unforseen circumstances happen.</para>
 
 </sect1>

Modified: trunk/BOOK/final-preps/creatingtoolsdir.xml
===================================================================
--- trunk/BOOK/final-preps/creatingtoolsdir.xml	2005-12-06 20:15:49 UTC (rev 853)
+++ trunk/BOOK/final-preps/creatingtoolsdir.xml	2005-12-06 23:34:00 UTC (rev 854)
@@ -39,12 +39,9 @@
     what you may think is an error.</para>
   </note>
 
-  <para>TO BE REWRiTTEN - The created symlink enables the toolchain to be
-  compiled so that
+  <para>The created symlink enables the toolchain to be compiled so that
   it always refers to <filename class="directory">/tools</filename>,
-  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 <quote>chrooted</quote> to the LFS
-  partition).</para>
+  meaning that the compiler, assembler, and linker will work. This will
+  provide a common place for our temporary tools system.</para>
 
 </sect1>

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2005-12-06 20:15:49 UTC (rev 853)
+++ trunk/BOOK/introduction/common/changelog.xml	2005-12-06 23:34:00 UTC (rev 854)
@@ -52,6 +52,11 @@
           <para>[ken] - Tidying in Gettext to reflect our differences from LFS, and
 		correct the date in changelog.</para>
         </listitem>
+        <listitem>
+          <para>[jim] - Moved Cross-tools from $HOME to LFS. This provide a easy way
+          for livecd builders to not loose valueable build time, if something goes
+          wrong.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 




More information about the cross-lfs mailing list