bootdisk: installer-pkgs (HEAD)

malekith malekith w pld.org.pl
Wto, 17 Gru 2002, 17:57:18 CET


Module name:	bootdisk
Changes by:	malekith	02/12/17 17:57:16

Modified files:
	installer-pkgs

Log message:
- run poldek ... | cat if using serial console -- a lot faster, suggested by zagrodzki

Index: installer-pkgs
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/installer-pkgs,v
diff -d -u -r1.79 -r1.80
--- installer-pkgs	29 Jul 2002 11:09:25 -0000	1.79
+++ installer-pkgs	17 Dec 2002 16:57:15 -0000	1.80
@@ -185,7 +185,15 @@
 		;;
 	esac
 	message
-	if LANG=C LC_ALL=C poldek $poldek_opt ; then
+
+	touch /tmp/ok
+        if grep -q " console=.*ttyS[0-9]" /proc/cmdline; then
+	  (LANG=C LC_ALL=C poldek $poldek_opt || rm -f /tmp/ok) | cat
+	else
+	  LANG=C LC_ALL=C poldek $poldek_opt || rm -f /tmp/ok
+        fi
+	
+	if test -f /tmp/ok ; then
 	  cat $poldek_log >> /var/log/installer
 	else
 	  log error "$(nls "PACKAGES INSTALLATION FAILED!!!")"



Więcej informacji o liście dyskusyjnej pld-installer