CLFS/master.sh, removed MORE kernel script manipulation- should be done via xsl
This commit is contained in:
parent
87b93b4831
commit
b83baf62b6
1 changed files with 18 additions and 19 deletions
|
@ -220,16 +220,16 @@ boot_Makefiles() { #
|
||||||
[[ -z $CONFIG ]] && continue
|
[[ -z $CONFIG ]] && continue
|
||||||
# Copy the config file to /sources with a standardized name
|
# Copy the config file to /sources with a standardized name
|
||||||
cp $BOOT_CONFIG $BUILDDIR/sources/bootkernel-config
|
cp $BOOT_CONFIG $BUILDDIR/sources/bootkernel-config
|
||||||
sed "s|make mrproper|make mrproper\ncp /sources/bootkernel-config .config|" -i $file
|
# sed "s|make mrproper|make mrproper\ncp /sources/bootkernel-config .config|" -i $file
|
||||||
# You cannot run menuconfig from within the makefile
|
# You cannot run menuconfig from within the makefile
|
||||||
sed 's|menuconfig|oldconfig|' -i $file
|
# sed 's|menuconfig|oldconfig|' -i $file
|
||||||
#If defined include the keymap in the kernel
|
#If defined include the keymap in the kernel
|
||||||
if [[ -n "$KEYMAP" ]]; then
|
# if [[ -n "$KEYMAP" ]]; then
|
||||||
sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
|
# sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
|
||||||
else
|
# else
|
||||||
sed '/loadkeys -m/d' -i $file
|
# sed '/loadkeys -m/d' -i $file
|
||||||
sed '/drivers\/char/d' -i $file
|
# sed '/drivers\/char/d' -i $file
|
||||||
fi
|
# fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#
|
#
|
||||||
|
@ -929,21 +929,20 @@ bm_bootable_Makefiles() { #
|
||||||
# A little housekeeping on the scripts
|
# A little housekeeping on the scripts
|
||||||
case $this_script in
|
case $this_script in
|
||||||
*grub*) continue ;;
|
*grub*) continue ;;
|
||||||
*kernel)
|
*kernel) # if there is no kernel config file do not build the kernel
|
||||||
# if there is no kernel config file do not build the kernel
|
|
||||||
[[ -z $CONFIG ]] && continue
|
[[ -z $CONFIG ]] && continue
|
||||||
# Copy the named config file to /sources with a standardized name
|
# Copy the named config file to /sources with a standardized name
|
||||||
cp $CONFIG $BUILDDIR/sources/kernel-config
|
cp $CONFIG $BUILDDIR/sources/kernel-config
|
||||||
sed "s|make mrproper|make mrproper\ncp ../kernel-config .config|" -i $file
|
# sed "s|make mrproper|make mrproper\ncp ../kernel-config .config|" -i $file
|
||||||
# You cannot run menuconfig from within the makefile
|
# You cannot run menuconfig from within the makefile
|
||||||
sed 's|menuconfig|oldconfig|' -i $file
|
# sed 's|menuconfig|oldconfig|' -i $file
|
||||||
# If defined include the keymap in the kernel
|
# If defined include the keymap in the kernel
|
||||||
if [[ -n "$KEYMAP" ]]; then
|
# if [[ -n "$KEYMAP" ]]; then
|
||||||
sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
|
# sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
|
||||||
else
|
# else
|
||||||
sed '/loadkeys -m/d' -i $file
|
# sed '/loadkeys -m/d' -i $file
|
||||||
sed '/drivers\/char/d' -i $file
|
# sed '/drivers\/char/d' -i $file
|
||||||
fi
|
# fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#
|
#
|
||||||
|
|
Reference in a new issue