X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fhv-install-2;h=79be86174198eccb96dffe3ec9b06f5c42418928;hb=b2caa476fe2b8b54e0952dfa11482004d1da4f33;hp=a063fb42620b70ac5ecd8fd996af50483bee6e0c;hpb=19609cec14f0e747c491985785c4d714f7f654de;p=hvlinux.git diff --git a/stage1/hv-install-2 b/stage1/hv-install-2 index a063fb4..79be861 100755 --- a/stage1/hv-install-2 +++ b/stage1/hv-install-2 @@ -2,10 +2,7 @@ source ~/.bashrc -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../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} @@ -38,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 +57,23 @@ 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 \ + --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 -m noac ${KERNEL} +ipkg ${KMOD} + +LDFLAGS="-Wl,-rpath,/tools/lib:/lib" \ + ipkg ${EUDEV} +ipkg -c -m noac ${KERNEL} rscr once "Creating default users" create-users rscr once "Creating default groups" create-groups