Author: pierre Date: Thu Mar 16 06:40:18 2017 New Revision: 3923 Log: 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.
Modified: jhalfs/trunk/common/libs/func_install_blfs Modified: jhalfs/trunk/common/libs/func_install_blfs ============================================================================== --- jhalfs/trunk/common/libs/func_install_blfs Thu Mar 16 06:36:47 2017 (r3922) +++ jhalfs/trunk/common/libs/func_install_blfs Thu Mar 16 06:40:18 2017 (r3923) @@ -126,11 +126,19 @@ # Generates a list containing download and copying instructions for tarballs echo -e '#!/bin/bash\nset -e\n' > $BUILDDIR$BLFS_ROOT/download_script -sed -n -e '/PACKAGE=/,/^fi/p' \ +sed -n -e '/PACKAGE=/,/^fi/{/^fi/a\ +cp $PACKAGE $SRC_ARCHIVE +p}' \ -e '/|[ ]*md5sum/p' \ - -e '/PACKAGE1=/,/^fi/p' \ - -e '/PATCH=/,/^fi/p' \ - -e '/URL=/,/^fi/p' \ + -e '/PACKAGE1=/,/^fi/{/^fi/a\ +cp $PACKAGE1 $SRC_ARCHIVE +p}' \ + -e '/PATCH=/,/^fi/{/^fi/a\ +cp $PACKAGE1 $SRC_ARCHIVE +p}' \ + -e '/URL=/,/^fi/{/^fi/a\ +cp $PACKAGE1 $SRC_ARCHIVE +p}' \ $BUILDDIR$BLFS_ROOT/scripts/* >> $BUILDDIR$BLFS_ROOT/download_script chmod u+x $BUILDDIR$BLFS_ROOT/download_script -- http://lists.linuxfromscratch.org/listinfo/alfs-log Unsubscribe: See the above information page