Install the wrap and pack functions whan installing BLFS tools
This commit is contained in:
parent
013a0bcac8
commit
316db22956
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,11 @@ cp -r BLFS/* ${BUILDDIR}${BLFS_ROOT}
|
||||||
cp -r menu ${BUILDDIR}${BLFS_ROOT}
|
cp -r menu ${BUILDDIR}${BLFS_ROOT}
|
||||||
cp $COMMON_DIR/progress_bar.sh ${BUILDDIR}${BLFS_ROOT}
|
cp $COMMON_DIR/progress_bar.sh ${BUILDDIR}${BLFS_ROOT}
|
||||||
cp README.BLFS ${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
|
# Clean-up
|
||||||
make -C ${BUILDDIR}${BLFS_ROOT}/menu clean
|
make -C ${BUILDDIR}${BLFS_ROOT}/menu clean
|
||||||
|
@ -114,6 +119,7 @@ $LINE_SUDO
|
||||||
MAIL_SERVER=sendmail
|
MAIL_SERVER=sendmail
|
||||||
optDependency=2
|
optDependency=2
|
||||||
SUDO=n
|
SUDO=n
|
||||||
|
WRAP_INSTALL=$WRAP_INSTALL
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Generates the scripts for the blfs tools dependencies (in ./scripts)
|
# Generates the scripts for the blfs tools dependencies (in ./scripts)
|
||||||
|
|
Reference in a new issue