Changeset 0271c0c
- Timestamp:
- 03/21/2006 01:25:20 PM (19 years ago)
- Branches:
- experimental
- Children:
- a9490ab
- Parents:
- b0976d2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rb0976d2 r0271c0c 217 217 *whatnext*) continue ;; 218 218 *settingenvironment*) sed 's@PS1=@set +h\nPS1=@' -i $file ;; 219 *kernel) # if there is no kernel config file do not build the kernel219 *kernel) # if there is no kernel config file do not build the kernel 220 220 [[ -z $CONFIG ]] && continue 221 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 222 # You cannot run menuconfig from within the makefile 221 # Copy the config file to /sources with a standardized name 222 cp -v $CONFIG $BUILDDIR/sources/kernel-config 223 sed "s|make mrproper|make mrproper\ncp /sources/kernel-config .config|" -i $file 224 # You cannot run menuconfig from within the makefile 223 225 sed 's|menuconfig|oldconfig|' -i $file 224 #If defined include the keymap in the kernel226 #If defined include the keymap in the kernel 225 227 if [[ -n "$KEYMAP" ]]; then 226 228 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file … … 857 859 *grub*) continue ;; 858 860 *kernel) 859 # if there is no kernel config file do not build the kernel861 # if there is no kernel config file do not build the kernel 860 862 [[ -z $CONFIG ]] && continue 861 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 862 # You cannot run menuconfig from within the makefile 863 # Copy the config file to /sources with a standardized name 864 cp -v $CONFIG $BUILDDIR/sources/kernel-config 865 sed "s|make mrproper|make mrproper\ncp /sources/kernel-config .config|" -i $file 866 # You cannot run menuconfig from within the makefile 863 867 sed 's|menuconfig|oldconfig|' -i $file 864 # If defined include the keymap in the kernel868 # If defined include the keymap in the kernel 865 869 if [[ -n "$KEYMAP" ]]; then 866 870 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file … … 938 942 *grub*) continue ;; 939 943 *kernel) 940 # if there is no kernel config file do not build the kernel944 # if there is no kernel config file do not build the kernel 941 945 [[ -z $CONFIG ]] && continue 942 cfg_file="/sources/`basename $CONFIG`" 943 sed "s|make mrproper|make mrproper\ncp $cfg_file .config|" -i $file 944 # You cannot run menuconfig from within the makefile 946 # Copy the named config file to /sources with a standardized name 947 cp -v $CONFIG $BUILDDIR/sources/kernel-config 948 sed "s|make mrproper|make mrproper\ncp ../kernel-config .config|" -i $file 949 # You cannot run menuconfig from within the makefile 945 950 sed 's|menuconfig|oldconfig|' -i $file 946 # If defined include the keymap in the kernel951 # If defined include the keymap in the kernel 947 952 if [[ -n "$KEYMAP" ]]; then 948 953 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file -
HLFS/master.sh
rb0976d2 r0271c0c 456 456 fi 457 457 458 if [[ `_IS_ $this_script kernel` ]] ; then459 # not much really, script does everything..460 echo -e "\t@cp -f $CONFIG \$(MOUNT_PT)/sources/kernel-config" >> $MKFILE.tmp461 fi462 463 458 # Check if we have a real /etc/fstab file 464 459 if [[ `_IS_ $this_script fstab` ]] && [[ -n "$FSTAB" ]] ; then -
LFS/master.sh
rb0976d2 r0271c0c 223 223 # should enter the chroot environment to create the root 224 224 # password, edit several files and setup Grub. 225 if [[ `_IS_ ${this_script} grub` ]] || [[ `_IS_ ${this_script} reboot` ]] ; then 226 continue 227 fi 228 225 # 229 226 # 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 233 234 234 235 # First append each name of the script files to a list (this will become -
common/common-functions
rb0976d2 r0271c0c 723 723 -e 's@">@"@' \ 724 724 -e '/generic/d' >> packages 725 echo " ...OK" 725 726 ;; 726 727 esac
Note:
See TracChangeset
for help on using the changeset viewer.