Update kmod for new install dir option
[hvlinux.git] / stage1 / hv-install-2
index d3e961a..8b7b955 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} "\
@@ -57,15 +57,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