r3158 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Oct 5 13:25:53 PDT 2006


Author: manuel
Date: 2006-10-05 14:25:52 -0600 (Thu, 05 Oct 2006)
New Revision: 3158

Modified:
   jhalfs/trunk/TODO
   jhalfs/trunk/jhalfs
Log:
Using http://svn.cross-lfs.org to fetch CLFS books.
Updated TODO.

Modified: jhalfs/trunk/TODO
===================================================================
--- jhalfs/trunk/TODO	2006-10-05 19:29:41 UTC (rev 3157)
+++ jhalfs/trunk/TODO	2006-10-05 20:25:52 UTC (rev 3158)
@@ -5,21 +5,19 @@
 MASTER SCRIPT
 -------------
 
-  - For CLFS book sources http://svn.cross-lfs.org should be used.
-
   - Update README to reflect the new work-flow.
 
 
 xLFS MODULES
 ------------
 
-  - To create Makefile entries to build blfs-tool dependencies.
-    Test LFS integration and port it to orher books.
+  - Test current BLFS_TOOL Makefile integration in LFS and CLFS.
+    Port it to CLFS-2 and HLFS, if possible.
 
-  - To develop a new restart code.
+  - To develop a new "restart" Makefile target code.
 
   - To add support for copying to the final system pre-generated
-    configuration files created by the user.
+    configuration files created by the user, if that can be implemented.
 
 
 BLFS MODULE (See BLFS/TODO)
@@ -31,5 +29,8 @@
 
   - Add a Customization file discussing how to hack the generated scripts
     and Makefiles, using the Cracklib support for Shadow in LFS as an example.
-    NOTE: that could require a special command line switch to regenerate the
-    Makefile if additional scripts are manually added to the *-commands/*/ dirs.
+
+    NOTE:
+      That requires a way to can regenerate the Makefile if additional
+      scripts are manually added to the *-commands/*/ dirs.
+

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2006-10-05 19:29:41 UTC (rev 3157)
+++ jhalfs/trunk/jhalfs	2006-10-05 20:25:52 UTC (rev 3158)
@@ -90,10 +90,6 @@
 [[ $? > 0 ]] && echo "file:configuration did not load.." && exit 1
 [[ $VERBOSITY > 0 ]] && echo "OK"
 
-      #--- Envars not sourced from configuration
-declare -r SVN="svn://svn.linuxfromscratch.org"
-declare -r LOG=000-masterscript.log
-
 # These are boolean vars generated from Config.in.
 # ISSUE: If a boolean parameter is not set <true> that
 # variable is not defined by the menu app. This can
@@ -133,7 +129,7 @@
   2.4-branch )
     LFSVRS=${BRANCH_ID}
     TREE=branches/2.4-branch
-    ;;    
+    ;;
   * )
     case $PROGNAME in
       lfs | hlfs )
@@ -231,6 +227,15 @@
   GPM_PATCH_2_MD5="bf6cbefe20c6f15b587f19ebc1c8a37a"
 fi
 
+#--- Envars not sourced from configuration
+case $PROGNAME in
+  clfs* ) declare -r SVN="http://svn.cross-lfs.org/svn/repos" ;;
+      * ) declare -r SVN="svn://svn.linuxfromscratch.org" ;;
+esac
+declare -r LOG=000-masterscript.log
+  # Needed to can fetch BLFS book sources when building CLFS
+declare -r SVN_2="svn://svn.linuxfromscratch.org"
+
 # Set true internal variables
 COMMON_DIR="common"
 PACKAGE_DIR=$(echo $PROGNAME | tr [a-z] [A-Z])
@@ -391,7 +396,7 @@
   echo -n "Downloading the BLFS document, $BLFS_BRANCH_ID version... "
   if [[ ! -d ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} ]] ; then
     mkdir -p ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML}
-    svn co $SVN/BLFS/$BLFS_TREE ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} >>$LOGDIR/$LOG 2>&1
+    svn co $SVN_2/BLFS/$BLFS_TREE ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} >>$LOGDIR/$LOG 2>&1
   else
     pushd ${BUILDDIR}${BLFS_ROOT}/${BLFS_XML} 1> /dev/null
       svn up >>$LOGDIR/$LOG 2>&1




More information about the alfs-log mailing list