Changeset 2cf28dc


Ignore:
Timestamp:
03/16/2017 01:40:18 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
70ea617
Parents:
8dc4646
Message:

Merge new_features r3922:
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

    r8dc4646 r2cf28dc  
    127127# Generates a list containing download and copying instructions for tarballs
    128128echo -e '#!/bin/bash\nset -e\n' > $BUILDDIR$BLFS_ROOT/download_script
    129 sed -n -e '/PACKAGE=/,/^fi/p' \
     129sed -n -e '/PACKAGE=/,/^fi/{/^fi/a\
     130cp $PACKAGE $SRC_ARCHIVE
     131p}' \
    130132       -e '/|[ ]*md5sum/p' \
    131        -e '/PACKAGE1=/,/^fi/p' \
    132        -e '/PATCH=/,/^fi/p' \
    133        -e '/URL=/,/^fi/p' \
     133       -e '/PACKAGE1=/,/^fi/{/^fi/a\
     134cp $PACKAGE1 $SRC_ARCHIVE
     135p}' \
     136       -e '/PATCH=/,/^fi/{/^fi/a\
     137cp $PACKAGE1 $SRC_ARCHIVE
     138p}' \
     139       -e '/URL=/,/^fi/{/^fi/a\
     140cp $PACKAGE1 $SRC_ARCHIVE
     141p}' \
    134142    $BUILDDIR$BLFS_ROOT/scripts/* >> $BUILDDIR$BLFS_ROOT/download_script
    135143chmod u+x $BUILDDIR$BLFS_ROOT/download_script
Note: See TracChangeset for help on using the changeset viewer.