X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fhv-install-2;h=7bc984658da94b48fb7c054d6056d2b4c1bfb938;hb=166111908c2cff78986972e0d2668feb7ee9d42b;hp=bb0079c24726eb0db22f7c1519316534c0f290d4;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage2/hv-install-2 b/stage2/hv-install-2 index bb0079c..7bc9846 100755 --- a/stage2/hv-install-2 +++ b/stage2/hv-install-2 @@ -1,9 +1,6 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -source ../config/packages-list +source ../functions/main init_log_file @@ -21,6 +18,7 @@ ipkg ${GZIP} ipkg ${KBD} ipkg ${LESS} ipkg ${MAKE_PACKAGE} +ipkg ${XZ_UTILS} ipkg ${MAN_DB} "\ --libexecdir=/usr/lib \ --disable-setuid \ @@ -33,13 +31,24 @@ ipkg ${PSMISC} ipkg ${SHADOW} ipkg -m noac ${SYSKLOGD} ipkg -m noac ${SYSVINIT} -ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin" +FORCE_UNSAFE_CONFIGURE=1 ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin" ipkg ${TEXINFO} ipkg ${UDEV} -ipkg -m noac ${UDEV_CONFIG} ipkg ${GRUB} ipkg -m acnb ${DHCP} + +if [ -n "${WIFI_SUPPORT}" ]; then + PREFIX=/usr ipkg -m noac -s wireless-tools ${WIRELESS_TOOLS} + ipkg -m noac ${WPA_SUPPLICANT} + + if [ -n "${B43_LPPHY}" ]; then + PREFIX=/usr ipkg -m noac ${B43_FWCUTTER} + ipkg -m noac -s firmware-b43-lpphy ${FIRMWARE_B43_LPPHY} + fi +fi + ipkg ${NANO} +ipkg -m noac ${ACPID} rscr once "Installing HV-utilities" install-hv-utilities rscr once "Installing bootscripts" install-bootscripts @@ -60,4 +69,6 @@ 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." +write_completed_stage + exec /bin/bash --login