- Timestamp:
- 03/05/2017 08:38:09 AM (8 years ago)
- Branches:
- 2.4, ablfs-more, legacy, trunk
- Children:
- 3d24e5b
- Parents:
- df97e68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rdf97e68 r85506da 379 379 *how-to-view*) continue ;; 380 380 *whatnext*) continue ;; 381 *fstab) [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab ;; 381 *fstab) [[ ! -z ${FSTAB} ]] && 382 [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] || 383 cp ${FSTAB} $BUILDDIR/sources/fstab ;; 382 384 *kernel) # if there is no kernel config file do not build the kernel 383 [[ -z $ CONFIG ]] && continue385 [[ -z $BOOT_CONFIG ]] && continue 384 386 # Copy the config file to /sources with a standardized name 387 [[ ${BOOT_CONFIG} == $BUILDDIR/sources/bootkernel-config ]] || 385 388 cp $BOOT_CONFIG $BUILDDIR/sources/bootkernel-config 386 389 ;; … … 735 738 *console*) continue ;; # Use the files that came with the bootscripts 736 739 # fstab is now here (for 3.x.y) 737 *fstab) [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab ;; 740 *fstab) [[ ! -z ${FSTAB} ]] && 741 [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] || 742 cp ${FSTAB} $BUILDDIR/sources/fstab ;; 738 743 *) ;; 739 744 esac … … 908 913 case $this_script in 909 914 *grub | *aboot | *colo | *silo | *arcload | *lilo | *reboot* ) continue ;; 910 *fstab) [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab ;; 915 *fstab) [[ ! -z ${FSTAB} ]] && 916 [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] || 917 cp ${FSTAB} $BUILDDIR/sources/fstab ;; 911 918 *kernel) # if there is no kernel config file do not build the kernel 912 919 [[ -z $CONFIG ]] && continue 913 920 # Copy the config file to /sources with a standardized name 921 [[ $CONFIG == $BUILDDIR/sources/kernel-config ]] || 914 922 cp $CONFIG $BUILDDIR/sources/kernel-config 915 923 ;;
Note:
See TracChangeset
for help on using the changeset viewer.