From 87b93b483199697c49922d9d9a1990103a9a9b6a Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Thu, 23 Mar 2006 14:39:25 +0000 Subject: [PATCH] CLFS/master.sh, removed kernel script manipulation- should be done via xsl --- CLFS/master.sh | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/CLFS/master.sh b/CLFS/master.sh index 6e01b00..e048865 100755 --- a/CLFS/master.sh +++ b/CLFS/master.sh @@ -856,23 +856,12 @@ bootable_Makefiles() { # # A little housekeeping on the scripts case $this_script in - *grub*) continue ;; - *kernel) - # if there is no kernel config file do not build the kernel + *grub*) continue ;; + *kernel) # if there is no kernel config file do not build the kernel [[ -z $CONFIG ]] && continue # Copy the config file to /sources with a standardized name cp $CONFIG $BUILDDIR/sources/kernel-config - sed "s|make mrproper|make mrproper\ncp /sources/kernel-config .config|" -i $file - # You cannot run menuconfig from within the makefile - sed 's|menuconfig|oldconfig|' -i $file - # If defined include the keymap in the kernel - if [[ -n "$KEYMAP" ]]; then - sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file - else - sed '/loadkeys -m/d' -i $file - sed '/drivers\/char/d' -i $file - fi - ;; + ;; esac # # First append each name of the script files to a list (this will become