X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Finstall-2;h=ec1c196206aeed962c114609c66f819b88c529c0;hb=1eb363044c6ee3115e62736aed4403b750082b44;hp=da231bb360d01a2382f0ccb3a87219b1b618d0c8;hpb=63214057431c558e4c216c4e3ea12c7b06bd4950;p=hvlinux.git diff --git a/stage2/install-2 b/stage2/install-2 index da231bb..ec1c196 100755 --- a/stage2/install-2 +++ b/stage2/install-2 @@ -30,9 +30,9 @@ ipkg ${MAN_DB} "\ ipkg ${MODULE_INIT_TOOLS} ipkg ${PATCH_PACKAGE} ipkg ${PSMISC} -ipkg -m noac ${SHADOW} -ipkg ${SYSKLOGD} -ipkg ${SYSVINIT} +ipkg ${SHADOW} +ipkg -m noac ${SYSKLOGD} +ipkg -m noac ${SYSVINIT} ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin" ipkg ${TEXINFO} ipkg ${UDEV} @@ -47,20 +47,13 @@ rscr once "Installing bootscripts" install-bootscripts echo "Total build time: $(get_total_build_time ${LFS_LOG_FILE})h" # Creating root password -passwd root || exit 1 +passwd root rscr mult "Performing post-install" post-install ldconfig -lasterror=$? - -if [ ${lasterror} -eq 0 ]; then - echo "Stage2 successfully completed." - echo "You must now compile a new kernel (go to /usr/src/linux)." - echo "After that, you can reboot and try your new system." -else - echo "Error in script 'install-2'" - exit ${lasterror} -fi +echo "Stage2 successfully completed." +echo "You must now compile a new kernel (go to /usr/src/linux)." +echo "After that, you can reboot and try your new system." exec /bin/bash --login