Changeset b35ce44 for common/libs
- Timestamp:
- 01/12/2013 07:58:34 AM (12 years ago)
- Branches:
- ablfs
- Children:
- f6ac406
- Parents:
- d33f161
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
rd33f161 rb35ce44 6 6 install_blfs_tools() { # the scriptlets to build 7 7 #----------------------------# the dependency tools 8 set -e 8 9 # Install the files 9 10 [[ ! -d ${BUILDDIR}${BLFS_ROOT} ]] && mkdir -pv ${BUILDDIR}${BLFS_ROOT} … … 112 113 113 114 # Move the scriptlets where they should be 114 rm -rf $BUILDDIR$BLFS_ROOT/scripts115 sudo rm -rf $BUILDDIR$BLFS_ROOT/scripts 115 116 mv scripts $BUILDDIR$BLFS_ROOT 116 117 … … 126 127 # Downloads (or copy) to build_dir/sources 127 128 pushd $BUILDDIR/sources 129 # Remove `unpacked' files if some have been left 130 sudo find . -name unpacked -exec rm \{\} \; 128 131 FTP_SERVER=$SERVER/pub/blfs/ SRC_ARCHIVE=$SRC_ARCHIVE $BUILDDIR$BLFS_ROOT/download_script 129 132 # The blfs-bootscripts package is at the wrong location 130 133 mkdir -p blfs-bootscripts 131 mvblfs-bootscripts*tar* blfs-bootscripts134 cp blfs-bootscripts*tar* blfs-bootscripts 132 135 popd 133 136 rm -v $BUILDDIR$BLFS_ROOT/download_script … … 142 145 if [ "$DEP_SVN" = y ]; then 143 146 sed -i -e /javahl/d -e /swig/d $BUILDDIR$BLFS_ROOT/scripts/*subversion 147 sed -i -e '/pushd/,/popd/d' -e /tea/d $BUILDDIR$BLFS_ROOT/scripts/*sqlite 144 148 fi 145 149 if [ "$DEP_PYTHON" = y ]; then … … 149 153 sed -i 's/^make$/make -j1/' $BUILDDIR$BLFS_ROOT/scripts/*openssl 150 154 fi 151 152 155 # At last generates the build Makefile 153 156 mkdir -p $BUILDDIR$BLFS_ROOT/work
Note:
See TracChangeset
for help on using the changeset viewer.