Changeset 6d3564b


Ignore:
Timestamp:
03/23/2006 08:51:11 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
fd5cb46
Parents:
3fcd63e
Message:

Finished my CLFSscripts generation review for now.
Added the build of the bootloaders.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    r3fcd63e r6d3564b  
    214214    # A little housekeeping on the scripts
    215215    case $this_script in
    216       *grub*)     continue     ;;
     216      *grub | *aboot | *colo | *silo | *arcload | *lilo )     continue     ;;
    217217      *whatnext*) continue     ;;
    218       *settingenvironment*) sed 's@PS1=@set +h\nPS1=@' -i $file  ;;
    219218      *kernel)    # if there is no kernel config file do not build the kernel
    220219                [[ -z $CONFIG ]] && continue
    221220                  # Copy the config file to /sources with a standardized name
    222221                cp $BOOT_CONFIG $BUILDDIR/sources/bootkernel-config
    223 #                sed "s|make mrproper|make mrproper\ncp /sources/bootkernel-config .config|" -i $file
    224                   # You cannot run menuconfig from within the makefile
    225 #                sed 's|menuconfig|oldconfig|'     -i $file
    226                   #If defined include the keymap in the kernel
    227 #                if [[ -n "$KEYMAP" ]]; then
    228 #                  sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
    229 #                else
    230 #                  sed '/loadkeys -m/d'    -i $file
    231 #                  sed '/drivers\/char/d'  -i $file
    232 #                fi
    233222          ;;
    234223    esac
     
    240229    # Grab the name of the target, strip id number and misc words.
    241230    case $this_script in
    242       *kernel)        name=linux           ;;
     231      *kernel)        name=linux                   ;;
    243232      *bootscripts)   name="bootscripts-cross-lfs" ;;
     233      *grub-build)    name=grub                    ;;
     234      *-aboot-build)  name=aboot                   ;;
     235      *yaboot-build)  name=yaboot                  ;;
     236      *colo-build)    name=colo                    ;;
     237      *silo-build)    name=silo                    ;;
     238      *arcload-build) name=arcload                 ;;
     239      *lilo-build)    name=lilo                    ;;
    244240      *)              name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@' -e 's@-build@@' ` ;;
    245241    esac
     
    311307    chroottools="$chroottools $this_script"
    312308
    313     #
    314     # A little housekeeping on the script contents
    315     case $this_script in
    316       *kernfs*)     sed '/exit/d' -i $file   ;;
    317       *pwdgroup*)   sed '/exec/d' -i $file   ;;
    318     esac
    319     #
    320309    # Grab the name of the target, strip id number, XXX-script
    321310    name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'`
     
    728717    # A little housekeeping on the scripts
    729718    case $this_script in
    730       *grub*)  continue ;;
     719      *grub | *aboot | *colo | *silo | *arcload | *lilo )  continue ;;
    731720      *kernel) # if there is no kernel config file do not build the kernel
    732721               [[ -z $CONFIG ]] && continue
     
    800789    # A little housekeeping on the scripts
    801790    case $this_script in
    802       *grub*)  continue  ;;
     791      *grub | *aboot | *colo | *silo | *arcload | *lilo )  continue  ;;
    803792      *kernel) # if there is no kernel config file do not build the kernel
    804793               [[ -z $CONFIG ]] && continue
Note: See TracChangeset for help on using the changeset viewer.