Changeset 382b083 for common/libs/func_install_blfs
- Timestamp:
- 12/15/2013 07:46:46 AM (11 years ago)
- Branches:
- 2.4, ablfs-more, legacy, new_features, trunk
- Children:
- 6ed3dd7
- Parents:
- bb7f603
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
rbb7f603 r382b083 29 29 # If we have a working copy, copy it: 30 30 if [[ "$BLFS_WORKING_COPY" = "y" ]]; then 31 echo "copying the local BLFS working copy (may take some time)" 31 32 # -r: recursive; -u: only if newer; -T: otherwise, would copy to a subdirectory 32 # of blfs-xml, if blfs-xml already exists 33 cp -ruT $BLFS_WC_LOCATION ${BUILDDIR}${BLFS_ROOT}/blfs-xml 33 # of blfs-xml, if blfs-xml already exists; --preserve=timestamps: if the local 34 # book has already been validated, tmp is posterior to the others, and 35 # validation will not be done again. 36 cp -ruT --preserve=timestamps $BLFS_WC_LOCATION \ 37 ${BUILDDIR}${BLFS_ROOT}/blfs-xml 34 38 fi 35 39 # Downloads the book if necessary, initialize the tracking file and the … … 139 143 sudo find . -name unpacked -exec rm \{\} \; 140 144 FTP_SERVER=$SERVER/pub/blfs/ SRC_ARCHIVE=$SRC_ARCHIVE $BUILDDIR$BLFS_ROOT/download_script 141 # The blfs-bootscripts package is at the wrong location142 mkdir -p blfs-bootscripts143 cp blfs-bootscripts*tar* blfs-bootscripts144 145 popd 145 146 rm -v $BUILDDIR$BLFS_ROOT/download_script 146 147 147 148 # Suppresses unneeded parts of the scriptlets 148 if [ "$DEP_WGET" = y ] && ! [ "$DEP_OPENSSL" = y ]; then149 sed -i s'/-ssl=.*/out-ssl/' $BUILDDIR$BLFS_ROOT/scripts/*wget150 fi151 149 if [ "$DEP_SUDO" = y ]; then 152 150 sed -i '/pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo … … 154 152 if [ "$DEP_SVN" = y ]; then 155 153 sed -i -e /javahl/d -e /swig/d $BUILDDIR$BLFS_ROOT/scripts/*subversion 156 sed -i -e '/pushd/,/popd/d' -e /tea/d $BUILDDIR$BLFS_ROOT/scripts/*sqlite157 fi158 if [ "$DEP_PYTHON" = y ]; then159 sed -i -e '/^make.*Doc/d' -e '/^chmod/{n;N;d}' $BUILDDIR$BLFS_ROOT/scripts/*python2160 fi161 if [ "$DEP_OPENSSL" = y ]; then162 sed -i 's/^make$/make -j1/' $BUILDDIR$BLFS_ROOT/scripts/*openssl163 154 fi 164 155 if [ "$DEP_LYNX" = y ]; then
Note:
See TracChangeset
for help on using the changeset viewer.