_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-Oct-20 08:28 UTC
[Xen-devel] Re: [PATCH 2 of 6] Fedora 16 uses /boot/grub2
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@durham.ac.uk>Acked-by: Ian Campbell <ian.campbell@citrix.com>> > --- 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@lists.xensource.com http://lists.xensource.com/xen-devel