> On Tue, Apr 19, 2011 at 12:21:57PM +0200, Peter Hessler wrote:
> > When I'm installing over a serial line, I would expect to use that as my
> > console in the future.  This diff sets the default console to the one we
> > are currently using, so it's just another [enter]. (The style is based
> > on the xdm case immediately above)
> > 
> > OK?
> 
> I seem to recall proposing this when we added the auto speed
> detection. I was shot down for reasons I no longer recall in detail.
> Something to do with people building boxes en masse on a bench with
> serial but wanting to deploy to racks with KVM. Or something.
> 
> Personally I still like the idea. :-)

The concern was over architectures which have more kinds of consoles.
sparc64, if I recall.  It would need to be re-verified.  I do not
remember the details, but have a vague memoru that this is what
stopped us before.

Don't fall into the "everything is a PC" trap.

> > Index: distrib/miniroot/install.sub
> > ===================================================================
> > RCS file: /cvs/openbsd/src/distrib/miniroot/install.sub,v
> > retrieving revision 1.636
> > diff -u -p -r1.636 install.sub
> > --- distrib/miniroot/install.sub    22 Mar 2011 19:20:15 -0000      1.636
> > +++ distrib/miniroot/install.sub    5 Apr 2011 10:42:10 -0000
> > @@ -1895,9 +1895,11 @@ questions() {
> >             xdm=$resp
> >     fi
> >  
> > +   defcons=no
> > +   [[ -n $CONSOLE ]] && defcons=yes
> >     if [[ -n $CDEV ]]; then
> >             _d=${CPROM:-$CDEV}
> > -           ask_yn "Change the default console to $_d?"
> > +           ask_yn "Change the default console to $_d?" $defcons
> >             defcons=$resp
> >             if [[ $resp == y ]]; then
> >                     ask_which "speed" "should $_d use" \
> > 
> > 
> > -- 
> > You've been leading a dog's life.  Stay off the furniture.

Reply via email to