On Thu, 2011-10-20 at 00:04 +0100, M A Young wrote:
> Fedora 16 puts grub configuration files in /boot/grub2/grub.cfg so
> pygrub should look there as well
> Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
>
> --- a/tools/pygrub/src/pygrub 2011-10-16 20:58:02.000000000 +0100
> +++ b/tools/pygrub/src/pygrub 2011-10-17 21:19:39.000000000 +0100
> @@ -386,7 +386,8 @@
> ["/efi/boot/elilo.conf", "/elilo.conf",])
> else:
> cfg_list = map(lambda x:
> (x,grub.GrubConf.Grub2ConfigFile),
> - ["/boot/grub/grub.cfg", "/grub/grub.cfg"])
> + \
> + ["/boot/grub/grub.cfg", "/grub/grub.cfg",
> + "/boot/grub2/grub.cfg",
> "/grub2/grub.cfg"]) + \
> map(lambda x:
> (x,grub.ExtLinuxConf.ExtLinuxConfigFile),
> ["/boot/isolinux/isolinux.cfg",
> "/boot/extlinux.conf"]) + \
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|