Changeset deb6b6c for LFS


Ignore:
Timestamp:
03/05/2017 08:35:09 AM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
d8ddcfb
Parents:
5253014
Message:

Fixes:

  • when the user fstab and/or kernel config are the same as the ones in

$BUILDDIR/sources: avoid to cp on itself

  • set SRC_ARCHIVE=/dev/null in BLFS tools download script if SRC_ARCHIVE is

empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r5253014 rdeb6b6c  
    313313    case ${this_script} in
    314314      *grub)    continue ;;
    315       *fstab)   [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab ;;
     315      *fstab)   [[ ! -z ${FSTAB} ]] &&
     316                [[ ${FSTAB} == $BUILDDIR/sources/fstab ]] ||
     317                cp ${FSTAB} $BUILDDIR/sources/fstab ;;
    316318      *kernel)  [[ -z ${CONFIG} ]] && continue
     319                [[ ${CONFIG} == $BUILDDIR/sources/kernel-config ]] ||
    317320                cp ${CONFIG} $BUILDDIR/sources/kernel-config  ;;
    318321    esac
Note: See TracChangeset for help on using the changeset viewer.