diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-03-05 14:39:25 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-03-05 14:39:25 +0000 |
commit | 2fcc5699d4f9f43e6edc78271123e42d051a0edc (patch) | |
tree | 18139fc228881d990b2b428cc2a53674f2ee6356 /tools/pygrub | |
parent | d1f2e8c47643cc87b1238b536da8ad2026b2e74f (diff) | |
download | xen-2fcc5699d4f9f43e6edc78271123e42d051a0edc.tar.gz xen-2fcc5699d4f9f43e6edc78271123e42d051a0edc.tar.bz2 xen-2fcc5699d4f9f43e6edc78271123e42d051a0edc.zip |
pygrub: Fix grub2 support when config is on a separate /boot partition
Signed-off-by: David Markey <david@dmarkey.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/pygrub')
-rw-r--r-- | tools/pygrub/src/pygrub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub index 1b1ed986c3..07bbd6fb37 100644 --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -384,7 +384,7 @@ class Grub: ["/boot/grub/menu.lst", "/boot/grub/grub.conf", "/grub/menu.lst", "/grub/grub.conf"]) + \ map(lambda x: (x,grub.GrubConf.Grub2ConfigFile), - ["/boot/grub/grub.cfg"]) + \ + ["/boot/grub/grub.cfg", "/grub/grub.cfg"]) + \ map(lambda x: (x,grub.ExtLinuxConf.ExtLinuxConfigFile), ["/boot/isolinux/isolinux.cfg", "/boot/extlinux.conf"]) |