r2621 - in jhalfs/trunk: . common

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Wed May 3 20:32:56 PDT 2006


Author: georgeb
Date: 2006-05-02 19:42:16 -0600 (Tue, 02 May 2006)
New Revision: 2621

Modified:
   jhalfs/trunk/README
   jhalfs/trunk/common/common-functions
Log:
additions to the README file

Modified: jhalfs/trunk/README
===================================================================
--- jhalfs/trunk/README	2006-05-03 00:25:38 UTC (rev 2620)
+++ jhalfs/trunk/README	2006-05-03 01:42:16 UTC (rev 2621)
@@ -75,7 +75,23 @@
 6. FAQ::
     Q. "It doesn't work"
     A. Yes it does..
-
+    
+    Q. "How do I specify the build location"
+    A. The original LFS document worked against the well know location /mnt/lfs.
+       This script automates the build of all of the LFS series of books and uses
+       a default generic location $BUILDDIR. The default setting is /mnt/build_dir.
+       You may change this value to suit your needs.
+ 
+       The layout below $BUILDDIR is as follows.
+       $BUILDDIR/
+            jhalfs      (makefile,cmd scripts,logs..etc)
+	    sources     (where packages reside
+	    temptools   (temporary bootstrap system
+	    cross-tools (CLFS only)
+	        ...
+	    FHS dir structure
+	        ...
+    
     Q. "What is the function of the SRC_ARCHIVE variable
     A. When then symlinked master.sh runs it creates a local copy of the
        necessary packages in BUILDDIR/sources by downloading the files. If
@@ -83,7 +99,13 @@
        this location for the file and, if found, will copy it to BUILDDIR/sources.
        If the files are not found in SRC_ARCHIVE _and_ you have write priv to
        the directory any downloaded files will be mirrored there.
-
+       
+    Q. "How do I set the SRC_ARCHIVE location"
+    A. The best way to set the value of SRC_ARCHIVE is
+       export SRC_ARCHIVE=/wherever/you/store/downloaded/packages
+                       OR
+       you can change the setting in .common/config. 
+    
     Q. "Why have 2 copies of the files."
     A. The package files must be visible during the chroot phase and this is a
        simple and reliable method of doing so. This method also handles the CLFS

Modified: jhalfs/trunk/common/common-functions
===================================================================
--- jhalfs/trunk/common/common-functions	2006-05-03 00:25:38 UTC (rev 2620)
+++ jhalfs/trunk/common/common-functions	2006-05-03 01:42:16 UTC (rev 2621)
@@ -53,6 +53,7 @@
 ${BOLD}  -D  --directory DIR${OFF}
         use DIR directory for building ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF}; all files jhalfs produces
         will be in the directory DIR/jhalfs.
+        The current setting for BUILDDIR is "$BUILDDIR"
 
 ${BOLD}  -G, --get-packages${OFF}
         download the packages and patches. This assumes that the server declared




More information about the alfs-log mailing list