Changeset 67723e1 for common/libs/func_install_blfs
- Timestamp:
- 02/27/2017 05:33:46 PM (7 years ago)
- Branches:
- 2.4, ablfs-more, legacy, trunk
- Children:
- 6eaae5e
- Parents:
- 342c862
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
r342c862 r67723e1 125 125 mv scripts $BUILDDIR$BLFS_ROOT 126 126 127 # The book instructions for CA certificates contains downloading128 # instructions, which should not be used here, so:129 if test -f $BUILDDIR$BLFS_ROOT/scripts/*cacerts; then130 sed -i '/URL=/,/^wget/d' $BUILDDIR$BLFS_ROOT/scripts/*cacerts131 fi132 133 127 # Generates a list containing download and copying instructions for tarballs 134 128 echo -e '#!/bin/bash\nset -e\n' > $BUILDDIR$BLFS_ROOT/download_script … … 145 139 # Remove `unpacked' files if some have been left 146 140 sudo find . -name unpacked -exec rm \{\} \; 147 FTP_SERVER=$SERVER/pub/blfs/ SRC_ARCHIVE=$SRC_ARCHIVE $BUILDDIR$BLFS_ROOT/download_script 141 if [ "$GETPKG" = "y" ]; then 142 FTP_SERVER=$SERVER/pub/blfs/ \ 143 SRC_ARCHIVE=$SRC_ARCHIVE \ 144 $BUILDDIR$BLFS_ROOT/download_script 145 else # Save the download script in case the user wants to run it later 146 cp $BUILDDIR$BLFS_ROOT/download_script . 147 fi 148 148 popd 149 149 rm -v $BUILDDIR$BLFS_ROOT/download_script … … 176 176 if [ "$DEP_LYNX" = y ]; then 177 177 if [ "$DEP_OPENSSL" = y -o "$DEP_WGET" = y ]; then 178 sed -i -e 's/configure/& --with-ssl/' \ 179 -e '/make$/i echo "#define USE_OPENSSL_INCL 1" >> lynx_cfg.h &&' \ 180 $BUILDDIR$BLFS_ROOT/scripts/*lynx 178 sed -e 's/configure/& --with-ssl/' \ 179 -i $BUILDDIR$BLFS_ROOT/scripts/*lynx 181 180 fi 181 fi 182 # The book instructions for CA certificates suppose that the cerdata.txt 183 # file is in the same directory as make-ca.sh-<version>. This is not the 184 # case with our default instructions. Just remove the "cd $UNPACKDIR" here. 185 if test -f $BUILDDIR$BLFS_ROOT/scripts/*cacerts; then 186 sed -i '/cd \$UNPACKDIR/d' $BUILDDIR$BLFS_ROOT/scripts/*cacerts 182 187 fi 183 188 # At last generates the build Makefile
Note:
See TracChangeset
for help on using the changeset viewer.