Changeset 85506da for LFS


Ignore:
Timestamp:
03/05/2017 08:38:09 AM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
3d24e5b
Parents:
df97e68
Message:

Merge new_features branch at r3901; 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

    rdf97e68 r85506da  
    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.