Changeset 9272545


Ignore:
Timestamp:
07/30/2006 08:58:26 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
f83bcee
Parents:
e840d27
Message:

Some comments fixes.
Trailing spaces cleam-up.
Removed obsolete code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/master.sh

    re840d27 r9272545  
    1414  local this_script=$2
    1515  local file=$3
    16  
     16
    1717(
    1818cat << EOF
     
    121121  fi
    122122
    123   # NOTE: We use the hlfs username and groupname also in HLFS
    124123  # If /home/hlfs is already present in the host, we asume that the
    125124  # hlfs user and group are also presents in the host, and a backup
     
    212211    chapter5="$chapter5 $this_script"
    213212
    214     # Grab the name of the target (minus the -headers or -cross in the case of gcc
    215     # and binutils in chapter 5)
    216     name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@' `
     213    # Grab the name of the target
     214    name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'`
    217215
    218216    # Adjust 'name'
     
    230228    # Drop in the name of the target on a new line, and the previous target
    231229    # as a dependency. Also call the echo_message function.
    232    
     230
    233231    # This is a very special script and requires manual processing
    234232    # NO Optimization allowed
     
    261259    # Remove the build directory(ies) except if the package build fails
    262260    # (so we can review config.cache, config.log, etc.)
    263     # For Binutils the sources must be retained for some time.
    264261    if [ "$pkg_tarball" != "" ] ; then
    265262       wrt_remove_build_dirs "$name"
     
    326323    name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'`
    327324
    328     #
    329     # Sed replacement to fix some rm command that could fail.
    330     # That should be fixed in the book sources.
    331     #
    332     case $name in
    333       glibc)  sed 's/rm /rm -f /' -i chapter06$N/$this_script        ;;
    334     esac
    335 
    336325    case $name in
    337326      uclibc)  name="uClibc"   ;;
     
    391380    fi
    392381
    393     # In the mount of kernel filesystems we need to set LFS and not to use chroot.
     382    # In the mount of kernel filesystems we need to set HLFS and not to use chroot.
    394383    case "${this_script}" in
    395384      *kernfs*)
     
    635624
    636625restart_code:
    637         @echo ">>> This feature is experimental, BUGS may exist"       
    638        
     626        @echo ">>> This feature is experimental, BUGS may exist"
     627
    639628        @if [ ! -L /tools ]; then \\
    640629          echo -e "\\nERROR::\\n /tools is NOT a symlink.. /tools must point to \$(MOUNT_PT)/tools\\n" && false;\\
    641630        fi;
    642        
     631
    643632        @if [ ! -e /tools ]; then \\
    644633          echo -e "\\nERROR::\\nThe target /tools points to does not exist.\\nVerify the target.. \$(MOUNT_PT)/tools\\n" && false;\\
    645634        fi;
    646        
     635
    647636        @if ! stat -c %N /tools | grep "\$(MOUNT_PT)/tools" >/dev/null ; then \\
    648637          echo -e "\\nERROR::\\nThe symlink \\"/tools\\" does not point to \\"\$(MOUNT_PT)/tools\\".\\nCorrect the problem and rerun\\n" && false;\\
    649         fi;     
     638        fi;
    650639
    651640        @if [ -f ???-kernfs ]; then \\
Note: See TracChangeset for help on using the changeset viewer.