Changeset f769d1f for common/libs/func_install_blfs
- Timestamp:
- 02/27/2017 05:32:14 PM (8 years ago)
- Branches:
- new_features
- Children:
- 45f0437
- Parents:
- 6c9002b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
r6c9002b rf769d1f 131 131 mv scripts $BUILDDIR$BLFS_ROOT 132 132 133 # The book instructions for CA certificates contains downloading134 # instructions, which should not be used here, so:135 if test -f $BUILDDIR$BLFS_ROOT/scripts/*cacerts; then136 sed -i '/URL=/,/^wget/d' $BUILDDIR$BLFS_ROOT/scripts/*cacerts137 fi138 139 133 # Generates a list containing download and copying instructions for tarballs 140 134 echo -e '#!/bin/bash\nset -e\n' > $BUILDDIR$BLFS_ROOT/download_script … … 151 145 # Remove `unpacked' files if some have been left 152 146 sudo find . -name unpacked -exec rm \{\} \; 153 FTP_SERVER=$SERVER/pub/blfs/ SRC_ARCHIVE=$SRC_ARCHIVE $BUILDDIR$BLFS_ROOT/download_script 147 if [ "$GETPKG" = "y" ]; then 148 FTP_SERVER=$SERVER/pub/blfs/ \ 149 SRC_ARCHIVE=$SRC_ARCHIVE \ 150 $BUILDDIR$BLFS_ROOT/download_script 151 else # Save the download script in case the user wants to run it later 152 cp $BUILDDIR$BLFS_ROOT/download_script . 153 fi 154 154 popd 155 155 rm -v $BUILDDIR$BLFS_ROOT/download_script … … 182 182 if [ "$DEP_LYNX" = y ]; then 183 183 if [ "$DEP_OPENSSL" = y -o "$DEP_WGET" = y ]; then 184 sed -i -e 's/configure/& --with-ssl/' \ 185 -e '/make$/i echo "#define USE_OPENSSL_INCL 1" >> lynx_cfg.h &&' \ 186 $BUILDDIR$BLFS_ROOT/scripts/*lynx 184 sed -e 's/configure/& --with-ssl/' \ 185 -i $BUILDDIR$BLFS_ROOT/scripts/*lynx 187 186 fi 187 fi 188 # The book instructions for CA certificates suppose that the cerdata.txt 189 # file is in the same directory as make-ca.sh-<version>. This is not the 190 # case with our default instructions. Just remove the "cd $UNPACKDIR" here. 191 if test -f $BUILDDIR$BLFS_ROOT/scripts/*cacerts; then 192 sed -i '/cd \$UNPACKDIR/d' $BUILDDIR$BLFS_ROOT/scripts/*cacerts 188 193 fi 189 194 # At last generates the build Makefile
Note:
See TracChangeset
for help on using the changeset viewer.