Add ppl patch to fix bug when compiling without Perl (stage2)
[hvlinux.git] / stage1 / hv-install-2
index aa54568..79be861 100755 (executable)
@@ -18,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}
@@ -35,7 +33,7 @@ ipkg ${NCURSES} "\
 ipkg ${BASH} "--without-bash-malloc"
 ipkg ${BISON}
 ipkg -m noac ${BZIP2}
-ipkg ${COREUTILS} "--enable-install-program=hostname"
+ipkg -m acnb -j ${COREUTILS} "--enable-install-program=hostname"
 ipkg ${DIFFUTILS}
 ipkg ${FINDUTILS}
 ipkg ${FILE_PKG}
@@ -62,12 +60,19 @@ ipkg ${NANO} "--enable-color --enable-multibuffer"
 PKG_CONFIG=true \
     ipkg ${UTIL_LINUX} "\
         --exec-prefix=/tools \
-        --enable-login-utils \
+        --disable-login \
+        --disable-sulogin \
+        --disable-su \
         --disable-makeinstall-chown"
+ipkg ${SHADOW} "\
+    --sysconfdir=/etc \
+    --cache-file=config.cache"
 ipkg ${E2FSPROGS}
 ipkg -m noac ${SYSVINIT}
-ipkg ${MODULE_INIT_TOOLS}
-ipkg ${UDEV}
+ipkg ${KMOD}
+
+LDFLAGS="-Wl,-rpath,/tools/lib:/lib" \
+    ipkg ${EUDEV}
 ipkg -c -m noac ${KERNEL}
 
 rscr once "Creating default users" create-users