[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SRM] Approval for finish-install_2.28squeeze1



Dear stable release managers,

I would like to fix a bug in finish-install, which doesn't enable the
serial console on MIPS Swarm machines during installation, as the serial
devices are called duart0 or duart1 instead of tty*. This bug is quite 
important to fix as these machines are used as build daemons in Debian,
and thus should be able to be reinstalled easily.

Please consider the diff below for finish-install in stable.

Aurelien


diff --git a/debian/changelog b/debian/changelog
index 956df63..142c37f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+finish-install (2.28squeeze1) stable-proposed-updates; urgency=low
+
+  [ Aurelien Jarno ]
+  * Recognize /dev/duart* as a serial console.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 19 Feb 2011 15:20:04 +0100
+
 finish-install (2.28) unstable; urgency=low
 
   [ Colin Watson ]
diff --git a/finish-install.d/90console b/finish-install.d/90console
index fbae585..809899e 100755
--- a/finish-install.d/90console
+++ b/finish-install.d/90console
@@ -48,7 +48,7 @@ else
 fi
 
 case "$console" in
-    tty[A-Z]*)
+    tty[A-Z]*|duart*)
 	log "Configuring init for serial console"
 	consoletype=${console%%[0-9]*}
 	ttyline=${console#$consoletype}

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

Attachment: signature.asc
Description: Digital signature


Reply to: