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

[Xen-changelog] [xen-3.1-testing] [IA64] Presently pygrub only looks in /efi/redhat/elilo.conf. It



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1178181192 -3600
# Node ID 24f47ff4fb25f40e586e9b56f39fb442172e7f1e
# Parent  1cb58c70d813c2d62ecb08c3e3c590f1cc69a05c
[IA64] Presently pygrub only looks in /efi/redhat/elilo.conf.  It
should check for other distributions, plus a couple fallback
locations.

Signed-off-by: Aron Griffis <aron@xxxxxx>
---
 tools/pygrub/src/pygrub |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

diff -r 1cb58c70d813 -r 24f47ff4fb25 tools/pygrub/src/pygrub
--- a/tools/pygrub/src/pygrub   Thu May 03 09:32:35 2007 +0100
+++ b/tools/pygrub/src/pygrub   Thu May 03 09:33:12 2007 +0100
@@ -361,7 +361,12 @@ class Grub:
 
         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",)
+            # fallbacks
+            file_list += ("/efi/boot/elilo.conf", "/elilo.conf",)
         else:
             self.cf = grub.GrubConf.GrubConfigFile()
             file_list = ("/boot/grub/menu.lst", "/boot/grub/grub.conf",

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


 


Rackspace

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