Changeset fc0802b


Ignore:
Timestamp:
03/16/2017 01:36:47 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
76cf25f
Parents:
54380e5
Message:

Add instructions to copy to SRC_ARCHIVE in func_install_blfs, so that files

are kept in host repo, and not downloaded again, should a new build be
started.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    r54380e5 rfc0802b  
    133133# Generates a list containing download and copying instructions for tarballs
    134134echo -e '#!/bin/bash\nset -e\n' > $BUILDDIR$BLFS_ROOT/download_script
    135 sed -n -e '/PACKAGE=/,/^fi/p' \
     135sed -n -e '/PACKAGE=/,/^fi/{/^fi/a\
     136cp $PACKAGE $SRC_ARCHIVE
     137p}' \
    136138       -e '/|[ ]*md5sum/p' \
    137        -e '/PACKAGE1=/,/^fi/p' \
    138        -e '/PATCH=/,/^fi/p' \
    139        -e '/URL=/,/^fi/p' \
     139       -e '/PACKAGE1=/,/^fi/{/^fi/a\
     140cp $PACKAGE1 $SRC_ARCHIVE
     141p}' \
     142       -e '/PATCH=/,/^fi/{/^fi/a\
     143cp $PACKAGE1 $SRC_ARCHIVE
     144p}' \
     145       -e '/URL=/,/^fi/{/^fi/a\
     146cp $PACKAGE1 $SRC_ARCHIVE
     147p}' \
    140148    $BUILDDIR$BLFS_ROOT/scripts/* >> $BUILDDIR$BLFS_ROOT/download_script
    141149chmod u+x $BUILDDIR$BLFS_ROOT/download_script
Note: See TracChangeset for help on using the changeset viewer.