Remplacement "grep 1> /dev/null 2>&1" par "grep -q"
[hvlinux.git] / stage2 / hv-install-2
index 25a5edc..1a78e4c 100755 (executable)
@@ -30,7 +30,7 @@ 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}
@@ -41,7 +41,7 @@ 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
+    if [ -n "${B43_LPPHY}" ]; then
         PREFIX=/usr ipkg -m noac ${B43_FWCUTTER}
         ipkg -m noac -s firmware-b43-lpphy ${FIRMWARE_B43_LPPHY}
     fi
@@ -68,4 +68,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