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

Re: [Xen-devel] [PATCH] pygrub: look harder for elilo.conf



On Thu, 2007-05-03 at 04:48 +0100, Daniel P. Berrange wrote:
> On Wed, May 02, 2007 at 10:42:44PM -0400, Aron Griffis wrote:
> >  
> >          if platform.machine() == 'ia64':
> >              self.cf = grub.LiloConf.LiloConfigFile()
> > -            file_list = ("/efi/redhat/elilo.conf",)
> > +            # common distributions
> > +            file_list = ("/efi/debian/elilo.conf", 
> > "/efi/gentoo/elilo.conf", 
> > +                         "/efi/redflag/elilo.conf", 
> > "/efi/redhat/elilo.conf", 
> > +                         "/efi/SuSE/elilo.conf",)
> 
> How about simply having it iterate over every first level subdirectory of 
> /efi,
> ie basically looking for  /efi/*/elilo.conf  rather than hardcoding a small
> list of distros ?

   I think Aron looked into it briefly, but it wasn't clear how to do
that in libfsimage.  If it can be done, that certainly sounds like less
maintenance.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.