WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] pygrub: look harder for elilo.conf
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 02 May 2007 21:53:20 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, keir@xxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 May 2007 20:52:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070503034814.GA23181@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <20070503024240.GA8126@xxxxxxxxx> <20070503034814.GA23181@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>