r188 - in trunk/BOOK: chapter03 chapter04

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Feb 13 05:14:20 PST 2005


Author: manuel
Date: 2005-02-13 06:14:20 -0700 (Sun, 13 Feb 2005)
New Revision: 188

Modified:
   trunk/BOOK/chapter03/addinguser.xml
   trunk/BOOK/chapter03/creatingtoolsdir.xml
   trunk/BOOK/chapter04/introduction.xml
Log:
Fixed the HLFS/sources dir creation.

Modified: trunk/BOOK/chapter03/addinguser.xml
===================================================================
--- trunk/BOOK/chapter03/addinguser.xml	2005-02-13 13:02:29 UTC (rev 187)
+++ trunk/BOOK/chapter03/addinguser.xml	2005-02-13 13:14:20 UTC (rev 188)
@@ -71,7 +71,6 @@
 
 <screen><userinput>chown hlfs $HLFS/tools</userinput></screen>
 
-<beginpage/>
 <para>If a separate working directory was created as suggested, give
 user <emphasis>hlfs</emphasis> ownership of this directory:</para>
 

Modified: trunk/BOOK/chapter03/creatingtoolsdir.xml
===================================================================
--- trunk/BOOK/chapter03/creatingtoolsdir.xml	2005-02-13 13:02:29 UTC (rev 187)
+++ trunk/BOOK/chapter03/creatingtoolsdir.xml	2005-02-13 13:14:20 UTC (rev 188)
@@ -42,5 +42,26 @@
 the next (when we are <quote>chrooted</quote> to the HLFS
 partition).</para>
 
+<para>Downloaded packages and patches will need to be stored somewhere
+that is conveniently available throughout the entire build. A working
+directory is also required to unpack the sources and build them.
+<filename class="directory">$HLFS/sources</filename> can be used both
+as the place to store the tarballs and patches and as a working
+directory. By using this directory, the required elements will be
+located on the HLFS partition and will be available during all stages
+of the building process.</para>
+
+<para>To create this directory, execute the following command:</para>
+
+<screen><userinput>mkdir $HLFS/sources</userinput></screen>
+
+<para>Make this directory writable and sticky. <quote>Sticky</quote>
+means that even if multiple users have write permission on a
+directory, only the owner of a file can delete the file within a
+sticky directory. The following command will enable the write and
+sticky modes:</para>
+
+<screen><userinput>chmod a+wt $HLFS/sources</userinput></screen>
+
 </sect1>
 

Modified: trunk/BOOK/chapter04/introduction.xml
===================================================================
--- trunk/BOOK/chapter04/introduction.xml	2005-02-13 13:02:29 UTC (rev 187)
+++ trunk/BOOK/chapter04/introduction.xml	2005-02-13 13:14:20 UTC (rev 188)
@@ -21,5 +21,9 @@
 discussed at <ulink url="&lfs-root;lfs/packages.html"/>.-->
 </para>
 
+<para>When as <emphasis>hlfs</emphasis> user, download the next packages 
+and patches into the <filename class="directory">$HLFS/sources</filename>
+directory.</para>
+
 </sect1>
 




More information about the hlfs-dev mailing list