X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fhv-install-1;h=f596347fdb987b3dece027b95863fca4849e321b;hb=2b86b5b69df77007ae7fd31fc1ae39361a1a9019;hp=2e3cc412581a1b07821325979e08e03e06782160;hpb=2ad910e22979500192ea43d5599ad003440744a4;p=hvlinux.git diff --git a/stage2/hv-install-1 b/stage2/hv-install-1 index 2e3cc41..f596347 100755 --- a/stage2/hv-install-1 +++ b/stage2/hv-install-1 @@ -1,17 +1,9 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -hvtrap_setup -source ../config/packages-list +source ../functions/main source /etc/profile -if [ "x${USER}" != "xroot" ]; then - echo "You must be the superuser to install hvlinux." - exit 1 -fi - +check_for_root_user init_log_file rscr mult "Performing pre-install" pre-install @@ -46,7 +38,7 @@ rscr mult "Testing toolchain" toolchain-test ipkg ${SED} "--bindir=/bin" ipkg ${PKG_CONFIG} ipkg ${NCURSES} -ipkg ${UTIL_LINUX_NG} +ipkg ${UTIL_LINUX} ipkg ${E2FSPROGS} ipkg ${COREUTILS} ipkg -m noac ${IANA}