Remove stage1 bison
[hvlinux.git] / stage1 / hv-install-2
index d3e961a..af4179e 100755 (executable)
@@ -9,7 +9,7 @@ init_log_file
 # Building temporary system
 
 ipkg ${GMP} "--enable-cxx"
-ipkg ${MPFR} "--enable-shared"
+ipkg ${MPFR}
 ipkg ${MPC}
 ipkg ${ISL}
 ipkg ${CLOOG} "\
@@ -24,7 +24,6 @@ ipkg ${NCURSES} "\
     --enable-overwrite \
     --with-build-cc=gcc"
 ipkg ${BASH} "--without-bash-malloc"
-ipkg ${BISON}
 ipkg -m noac ${BZIP2}
 ipkg -m acnb -j ${COREUTILS} "--enable-install-program=hostname"
 ipkg ${DIFFUTILS}
@@ -32,7 +31,7 @@ ipkg ${FINDUTILS}
 ipkg ${FILE_PKG}
 ipkg ${FLEX}
 ipkg ${GAWK}
-ipkg ${GETTEXT}
+ipkg -d gettext-tools ${GETTEXT} "--disable-shared"
 ipkg ${GREP} "\
     --disable-perl-regexp \
     --without-included-regex"
@@ -57,15 +56,14 @@ PKG_CONFIG=true \
         --disable-sulogin \
         --disable-su \
         --disable-makeinstall-chown"
-ipkg ${SHADOW} "\
+ipkg -i ${LFS} ${SHADOW} "\
     --sysconfdir=/etc \
     --cache-file=config.cache"
-ipkg ${E2FSPROGS}
+LDFLAGS="-Wl,-lpthread,-ldl" \
+    ipkg ${E2FSPROGS}
 ipkg -m noac ${SYSVINIT}
-ipkg ${KMOD}
-
-LDFLAGS="-Wl,-rpath,/tools/lib:/lib" \
-    ipkg ${EUDEV}
+ipkg -i ${LFS} ${KMOD} "--bindir=/bin"
+ipkg ${EUDEV}
 ipkg -c -m noac ${KERNEL}
 
 rscr once "Creating default users" create-users