HLFS master.sh, copy kernel config file to /sources. Added text to config file

This commit is contained in:
George Boudreau 2006-03-21 02:19:49 +00:00
parent 386bc75172
commit 1d756b0b61
2 changed files with 3 additions and 1 deletions

View file

@ -16,7 +16,8 @@ GRSECURITY_HOST=0
#--- Location of fstab file (if empty, a template is created)
FSTAB=
#--- Location of kernel config file (if the kernel is to be compiled)
#--- Fully qualified path to a kernel config file
# If no config file is specified the kernel is NOT compiled
CONFIG=
#--- Book's sources directory

View file

@ -427,6 +427,7 @@ chapter7_Makefiles() { # Create a bootable system.. kernel, bootscripts..e
*kernel)
# If no .config file is supplied, the kernel build is skipped
[[ -z $CONFIG ]] && continue
cp $CONFIG $BUILDDIR/sources/kernel-config
;;
esac