Changeset 0271c0c for LFS


Ignore:
Timestamp:
03/21/2006 01:25:20 PM (19 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
a9490ab
Parents:
b0976d2
Message:

Standardized handling of the optional param CONFIG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    rb0976d2 r0271c0c  
    223223    # should enter the chroot environment to create the root
    224224    # password, edit several files and setup Grub.
    225     if [[ `_IS_ ${this_script} grub` ]] || [[ `_IS_ ${this_script} reboot` ]] ; then
    226        continue
    227     fi
    228 
     225    #
    229226    # If no .config file is supplied, the kernel build is skipped
    230     if [ -z $CONFIG ] && [[ `_IS_ ${this_script} kernel` ]] ; then
    231       continue
    232     fi
     227    #
     228    case ${this_script} in
     229      *grub)    continue ;;
     230      *reboot)  continue ;;
     231      *kernel)  [[ -z ${CONFIG} ]] && continue
     232                cp ${CONFIG} $BUILDDIR/sources/kernel-config  ;;
     233    esac
    233234
    234235    # First append each name of the script files to a list (this will become
Note: See TracChangeset for help on using the changeset viewer.