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

Re: [PATCH 8/9] clean up sparc boot loader so that it writes out and links into /etc correctly



On Friday 26 February 2010 03:26:35 pm Chris Lumens wrote:
> > diff --git a/booty/sparc.py b/booty/sparc.py
> > index 22c4ab8..f6dd7be 100644
> > --- a/booty/sparc.py
> > +++ b/booty/sparc.py
> > @@ -1,14 +1,17 @@
> > +import string
> > 
> >  import os
> >  
> >  from booty import BootyNoKernelWarning
> > 
> > +from util import getDiskPart
> > 
> >  from bootloaderInfo import *
> > 
> > +import iutil
> > 
> >  class sparcBootloaderInfo(bootloaderInfo):
> >      def writeSilo(self, instRoot, bl, kernelList,
> >      
> >                  chainList, defaultDev, justConfigFile):
> >          try:
> > -            bootDev = self.storage.mountpoints["/boot"]
> > +            bootDev = self.storage.mountpoints["/boot"].name
> > 
> >              mf = '/silo.message'
> >              cf = "/boot/silo.conf"
> 
> For the most part, other arches keep bootDev like you've got it here and
> then refer to bootDev.name or whatever.  Any reason for being different?

i picked it up from a single instance of it thats in booty/x86.py while i was 
trying to work out what exactly was failing.

Ill rewrite it


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]