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

Re: [PATCH 9/9] if we are using a serial console for install then append console=ttyS0, 9600 so upstart will create us a serial console on install



On Friday 26 February 2010 03:29:23 pm Chris Lumens wrote:
> > diff --git a/booty/sparc.py b/booty/sparc.py
> > index f6dd7be..1f65a23 100644
> > --- a/booty/sparc.py
> > +++ b/booty/sparc.py
> > 
> > @@ -65,6 +65,9 @@ class sparcBootloaderInfo(bootloaderInfo):
> >              append = "%s" % (self.args.get(),)
> > 
> > +            if self.serial == 1:
> > +                append = "%s console=ttyS0,9600" % append
> > +
> > 
> >              realroot = rootDev.fstabSpec
> >              
> >              if rootIsDevice(realroot):
> >                  f.write("\troot=%s\n" % (realroot,))
> 
> bootloaderInfo.__init__ *should* handle setting the console= append up
> correctly if console= is passed to anaconda.  Options should work the
> same way.  Are you running into a situation where this is not the case?
What im running into is that on SPARC you dont need to append 
console=ttyS0,9600 for the installer to work over the serial port if you dont 
have a keyboard plugged in.  input/output default to the serial console at the 
hardware level. however you then don't get any tty post install. 

This should be redone.   so that it checks if we had passed in console on 
install at the least. other option is to just drop it and notethat post 
install you need to add console=ttyS0,9600 to silo when you boot to get a 
console on your serial port.


Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.


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