r3873 - jhalfs/branches/new_features/common/libs

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Wed Aug 24 08:56:50 PDT 2016


Author: pierre
Date: Wed Aug 24 08:56:50 2016
New Revision: 3873

Log:
Install the wrap and pack functions whan installing BLFS tools

Modified:
   jhalfs/branches/new_features/common/libs/func_install_blfs

Modified: jhalfs/branches/new_features/common/libs/func_install_blfs
==============================================================================
--- jhalfs/branches/new_features/common/libs/func_install_blfs	Wed Aug 24 08:25:33 2016	(r3872)
+++ jhalfs/branches/new_features/common/libs/func_install_blfs	Wed Aug 24 08:56:50 2016	(r3873)
@@ -12,6 +12,11 @@
 cp -r menu ${BUILDDIR}${BLFS_ROOT}
 cp $COMMON_DIR/progress_bar.sh ${BUILDDIR}${BLFS_ROOT}
 cp README.BLFS ${BUILDDIR}${BLFS_ROOT}
+if [ "$WRAP_INSTALL" = y ]; then
+  sed -e 's/PKGDIR/UNPACKDIR/' \
+      -e 's/PKG_DEST/PKG_DIR/' \
+      $PKGMNGTDIR/packInstall.sh > ${BUILDDIR}${BLFS_ROOT}/packInstall.sh
+fi
 
 # Clean-up
 make -C ${BUILDDIR}${BLFS_ROOT}/menu clean
@@ -114,6 +119,7 @@
 MAIL_SERVER=sendmail
 optDependency=2
 SUDO=n
+WRAP_INSTALL=$WRAP_INSTALL
 EOF
 
 # Generates the scripts for the blfs tools dependencies (in ./scripts)


More information about the alfs-log mailing list