Mise à jour documentation
[hvlinux.git] / stage1 / install-2
index ce63d88..a063fb4 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/bash
-set -o errexit
 
 source ~/.bashrc
 
@@ -8,24 +7,9 @@ source ../sysinfos
 source ../functions
 source ../packages-list
 
-export LFS_PKG_DIR="$(dirname $(pwd))/packages/stage1"
-export LFS_LOG_DIR=${LFS}/var/log/hvlinux-install/stage1
-export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log
-export LFS_TMP="${LFS}/tmp"
-
 init_log_file
 
 # Building temporary system
-export CC="${CLFS_TARGET}-gcc"
-export CXX="${CLFS_TARGET}-g++"
-export AR="${CLFS_TARGET}-ar"
-export AS="${CLFS_TARGET}-as"
-export RANLIB="${CLFS_TARGET}-ranlib"
-export LD="${CLFS_TARGET}-ld"
-export STRIP="${CLFS_TARGET}-strip"
-
-# Scripts directory
-export SCRDIR=$(pwd)
 
 HOST_CC=gcc CPPFLAGS=-fexceptions \
     ipkg ${GMP} "--enable-cxx"
@@ -60,7 +44,7 @@ ipkg ${FINDUTILS}
 ipkg ${FILE_PKG}
 ipkg ${FLEX}
 ipkg ${GAWK}
-ipkg ${GETTEXT} "--disable-shared"
+ipkg ${GETTEXT}
 ipkg ${GREP} "\
     --disable-perl-regexp \
     --without-included-regex"