|
|||||||||||
|
Bug#453749: Fix serial console detection on ia64
From: Frans Pop <elendil(at)planet.nl>
Date: Sat Dec 01 2007 - 02:52:22 EST
I compiled this on amd64 and after stripping it is still 4k. As it is only
needed during finish install, I wonder if it should be in di-utils and thus
in initrds.
> Bryan's utility. This utility was originally called getserialdev - I've If I run the app on my system, I get an error code 255. It's probably correct that it returns an error, but I wonder if the value 255 is correct? > The attached patch to finish-install adds support for using I think that, because of the "ttyS" assumption" this patch may break hvsi/hvc virtualized console support (bottom half of 90console). This should be checked. I don't think there's any need to write the output of s-c-i to a temp file. Just assigning it to a variable should work just as well: +if [ "$rawconsole" == "/dev/console" ] && \ + [ -x /bin/serial-console-info ] && \ + sci=$(/bin/serial-console-info); then + rawconsole="/dev/$(echo "$sci" | grep ^DEV= | cut -d= -f2)" + sci_baud=$(echo "$sci" | grep ^SPEED= | cut -d= -f2) +fi
Cheers,
-- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Sat Dec 1 02:54:18 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:35:38 EDT |
||||||||||
|
|||||||||||