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

Re: [PATCH 2/8] Use the right attributes to build the bootloaderChoices dict.



> > diff --git a/platform.py b/platform.py
> > index 4adc5d1..2c35a5c 100644
> > --- a/platform.py
> > +++ b/platform.py
> > @@ -83,11 +83,11 @@ class Platform(object):
> >          if not bootDev:
> >              return ret
> >  
> > -        if bootDev.device.getName() == "RAIDDevice":
> > -            ret["boot"] = (bootDev.path, N_("RAID Device"))
> > +        if bootDev.type == "mdarray":
> 
> I think you should also check for "dm-raid array".  Not really familiar
> with the booty code, but it seem reasonable.

Hm, can you even boot off DM RAID devices?

- Chris


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