Changeset 6d3564b
- Timestamp:
- 03/23/2006 08:51:11 PM (19 years ago)
- Branches:
- experimental
- Children:
- fd5cb46
- Parents:
- 3fcd63e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
r3fcd63e r6d3564b 214 214 # A little housekeeping on the scripts 215 215 case $this_script in 216 *grub *) continue ;;216 *grub | *aboot | *colo | *silo | *arcload | *lilo ) continue ;; 217 217 *whatnext*) continue ;; 218 *settingenvironment*) sed 's@PS1=@set +h\nPS1=@' -i $file ;;219 218 *kernel) # if there is no kernel config file do not build the kernel 220 219 [[ -z $CONFIG ]] && continue 221 220 # Copy the config file to /sources with a standardized name 222 221 cp $BOOT_CONFIG $BUILDDIR/sources/bootkernel-config 223 # sed "s|make mrproper|make mrproper\ncp /sources/bootkernel-config .config|" -i $file224 # You cannot run menuconfig from within the makefile225 # sed 's|menuconfig|oldconfig|' -i $file226 #If defined include the keymap in the kernel227 # if [[ -n "$KEYMAP" ]]; then228 # sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file229 # else230 # sed '/loadkeys -m/d' -i $file231 # sed '/drivers\/char/d' -i $file232 # fi233 222 ;; 234 223 esac … … 240 229 # Grab the name of the target, strip id number and misc words. 241 230 case $this_script in 242 *kernel) name=linux ;;231 *kernel) name=linux ;; 243 232 *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 ;; 244 240 *) name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@' -e 's@-build@@' ` ;; 245 241 esac … … 311 307 chroottools="$chroottools $this_script" 312 308 313 #314 # A little housekeeping on the script contents315 case $this_script in316 *kernfs*) sed '/exit/d' -i $file ;;317 *pwdgroup*) sed '/exec/d' -i $file ;;318 esac319 #320 309 # Grab the name of the target, strip id number, XXX-script 321 310 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` … … 728 717 # A little housekeeping on the scripts 729 718 case $this_script in 730 *grub *) continue ;;719 *grub | *aboot | *colo | *silo | *arcload | *lilo ) continue ;; 731 720 *kernel) # if there is no kernel config file do not build the kernel 732 721 [[ -z $CONFIG ]] && continue … … 800 789 # A little housekeeping on the scripts 801 790 case $this_script in 802 *grub *) continue ;;791 *grub | *aboot | *colo | *silo | *arcload | *lilo ) continue ;; 803 792 *kernel) # if there is no kernel config file do not build the kernel 804 793 [[ -z $CONFIG ]] && continue
Note:
See TracChangeset
for help on using the changeset viewer.