r2349 - jhalfs/branches/experimental/HLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Mar 16 13:25:28 PST 2006


Author: manuel
Date: 2006-03-16 14:25:25 -0700 (Thu, 16 Mar 2006)
New Revision: 2349

Modified:
   jhalfs/branches/experimental/HLFS/master.sh
Log:
Download also gcc-testsuite package if the testsuite must be run.
Trailing space cleanup.

Modified: jhalfs/branches/experimental/HLFS/master.sh
===================================================================
--- jhalfs/branches/experimental/HLFS/master.sh	2006-03-16 21:18:28 UTC (rev 2348)
+++ jhalfs/branches/experimental/HLFS/master.sh	2006-03-16 21:25:25 UTC (rev 2349)
@@ -1,6 +1,7 @@
 #!/bin/sh
 set -e  # Enable error trapping
 
+# $Id$
 
 ###################################
 ###          FUNCTIONS          ###
@@ -61,6 +62,9 @@
 
       "gcc" )   download $PKG "gcc-core-$VRS.tar.bz2"
                 download $PKG "gcc-g++-$VRS.tar.bz2"
+                if [ ! "$TEST" = "0" ] ; then
+                  download $PKG "gcc-testsuite-$VRS.tar.bz2" ;
+                fi
         ;;
       "glibc")  download $PKG "$PKG-$VRS.tar.bz2"
                 download $PKG "$PKG-libidn-$VRS.tar.bz2"
@@ -94,7 +98,7 @@
 #----------------------------#
   local TARGET LOADER
 
-  echo  "${YELLOW}  Processing Chapter-4 scripts ${OFF}"
+  echo  "${YELLOW}  Processing Chapter-3 scripts ${OFF}"
 
   # Define a few model dependant variables
   if [[ ${MODEL} = "uclibc" ]]; then
@@ -164,7 +168,7 @@
 #----------------------------#
   local file
   local this_script
-  
+
   echo "${YELLOW}  Processing Chapter-5 scripts${OFF}"
 
   for file in chapter05/* ; do
@@ -328,13 +332,13 @@
     # Sed replacement for 'nodump' tag in xml scripts until Manuel has a chance to fix them
     #
     case $name in
-      kernfs) 
+      kernfs)
             # We are using LFS instead of HLFS..
           sed 's/HLFS/LFS/' -i chapter06/$this_script
             # Remove sysctl code if host does not have grsecurity enabled
           if [[ "$GRSECURITY_HOST" = "0" ]]; then
             sed '/sysctl/d' -i chapter06/$this_script
-          fi 
+          fi
         ;;
       module-init-tools)
           if [[ "$TEST" = "0" ]]; then  # This needs rework....
@@ -436,7 +440,7 @@
 #----------------------------#
   local file
   local this_script
-  
+
   echo  "${YELLOW}  Processing Chapter-7 scripts ${OFF}"
   for file in chapter07/*; do
     # Keep the script file name
@@ -451,7 +455,7 @@
       *reboot)  continue  ;;
       *console) continue  ;; # Use the file generated by lfs-bootscripts
 
-      *kernel)  
+      *kernel)
           # If no .config file is supplied, the kernel build is skipped
         [[ -z $CONFIG ]] && continue
 	  # How does Manuel add this string to the file..




More information about the alfs-log mailing list