diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-03 09:33:12 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-03 09:33:12 +0100 |
commit | 320061b18ef5a31bb7b5a8f84ae2bf2ab0d54b66 (patch) | |
tree | f48e6c04d9c63b36a3d1203065e68b6034994b1d /tools/pygrub | |
parent | a20b52e572a4c4bbb7853765de377fb8b065a37d (diff) | |
download | xen-320061b18ef5a31bb7b5a8f84ae2bf2ab0d54b66.tar.gz xen-320061b18ef5a31bb7b5a8f84ae2bf2ab0d54b66.tar.bz2 xen-320061b18ef5a31bb7b5a8f84ae2bf2ab0d54b66.zip |
[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@hp.com>
Diffstat (limited to 'tools/pygrub')
-rw-r--r-- | tools/pygrub/src/pygrub | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub index 76eb313c30..22b2707c5c 100644 --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -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", |