X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fhv-install-2;h=7b4c8ad4aefffbfda9b91e1b66eb01bfab0a2421;hb=e8cc14e96c051666130d201fa5c60291a881e008;hp=bb0079c24726eb0db22f7c1519316534c0f290d4;hpb=2ad910e22979500192ea43d5599ad003440744a4;p=hvlinux.git diff --git a/stage2/hv-install-2 b/stage2/hv-install-2 index bb0079c..7b4c8ad 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 @@ -39,6 +36,17 @@ 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 "${FIRMWARE_B43_LPPHY}" ]; then + PREFIX=/usr ipkg -m noac ${B43_FWCUTTER} + ipkg -s firmware-b43-lpphy ${FIRMWARE_B43_LPPHY} + fi +fi + ipkg ${NANO} rscr once "Installing HV-utilities" install-hv-utilities