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

Re: Bug#394970: finish-install: [powerpc64] Add support for IBM serial consoles (hvc and hvsi)



On Thu, Nov 23, 2006 at 02:32:53PM -0200, Otavio Salvador wrote:
> Sven Luther <sven.luther@wanadoo.fr> writes:
> 
> > Would it not be better to use the variable in rootskel to detect that the
> > terminal is a serial terminal, namely those who delcare themselves to be :
> >
> >   TERM_TYPE=serial in rootskel/src/lib/debian-installer/detect-console-linux
> 
> I think it can be an interesting option to investigate. How deeply
> would be the patch to do that?

I am not sure. There may be some trick, since the TERM_TYPE case has more
serial devices than the finish-install one.

That said, i think we could check for TERM_TYPE=serial, and if so, guess the
console from $console, with a few heuristic for the less evident cases. 

I would like comments from Bastian, and others with knowledge of the less
evident detect-console-linux serial cases to go further here.

> > Furthermore, i have personally found out that it is interesting to enable
> > a serial console in /etc/inittab even in non-serial installs, Maybe a debconf
> > question of low priority would allow this to be preseeded or set in expert
> > installs ? Maybe too late for etch now, but still something to keep in mind.
> 
> Interesting. That would help indeed.
> 
> But maybe instead of enabling it by default or using a debconf
> question would be eaiser to use a command line param to enable
> it. What do you think?

The best would be a defaulting to no debconf question, maybe even a n
invisible one, so you can preseed it.

Friendly,

Sven Luther



Reply to: