Fixed bug in package-update log file base directory
[hvlinux.git] / stage1 / hv-install-2
index c6bc078..5c04a99 100755 (executable)
@@ -2,10 +2,7 @@
 
 source ~/.bashrc
 
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/packages-list
+source ../functions/main
 
 init_log_file
 
@@ -21,11 +18,9 @@ ipkg ${PPL} "\
     --disable-optimization \
     --with-libgmp-prefix=/tools \
     --with-libgmpxx-prefix=/tools"
-ipkg ${CLOOG_PPL} "\
+ipkg ${CLOOG} "\
     --enable-shared \
-    --with-bits=gmp \
-    --with-gmp=/tools \
-    --with-ppl=/tools"
+    --with-gmp=/tools"
 ipkg -m acnb ${ZLIB}
 ipkg ${BINUTILS}
 ipkg ${GCC}
@@ -62,12 +57,16 @@ rscr once "Creating directory structure" create-directories
 rscr once "Creating symbolic links" create-symlinks
 
 ipkg ${NANO} "--enable-color --enable-multibuffer"
-ipkg ${UTIL_LINUX_NG}
+PKG_CONFIG=true \
+    ipkg ${UTIL_LINUX} "\
+        --exec-prefix=/tools \
+        --enable-login-utils \
+        --disable-makeinstall-chown"
 ipkg ${E2FSPROGS}
 ipkg -m noac ${SYSVINIT}
-ipkg ${MODULE_INIT_TOOLS}
+ipkg ${KMOD}
 ipkg ${UDEV}
-ipkg -m noac ${KERNEL}
+ipkg -c -m noac ${KERNEL}
 
 rscr once "Creating default users" create-users
 rscr once "Creating default groups" create-groups