debuggers.hg

changeset 21048:87ed57b6e4cd

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>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Mar 05 14:39:25 2010 +0000 (2010-03-05)
parents f0777eafb73b
children 8f98581c2dd1
files tools/pygrub/src/pygrub
line diff
     1.1 --- a/tools/pygrub/src/pygrub	Fri Mar 05 14:35:44 2010 +0000
     1.2 +++ b/tools/pygrub/src/pygrub	Fri Mar 05 14:39:25 2010 +0000
     1.3 @@ -384,7 +384,7 @@ class Grub:
     1.4                             ["/boot/grub/menu.lst", "/boot/grub/grub.conf",
     1.5                              "/grub/menu.lst", "/grub/grub.conf"]) + \
     1.6                         map(lambda x: (x,grub.GrubConf.Grub2ConfigFile),
     1.7 -                           ["/boot/grub/grub.cfg"]) + \
     1.8 +                           ["/boot/grub/grub.cfg", "/grub/grub.cfg"]) + \
     1.9                         map(lambda x: (x,grub.ExtLinuxConf.ExtLinuxConfigFile),
    1.10                             ["/boot/isolinux/isolinux.cfg",
    1.11                              "/boot/extlinux.conf"])