_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-Oct-20 08:27 UTC
[Xen-devel] Re: [PATCH 3 of 6] Allow GPT partition references
On Thu, 2011-10-20 at 00:08 +0100, M A Young wrote:> The grub2 configuration file in Fedora 16 can have GPT partition > references > like (hd0,gpt2) so remove the "gpt" string where necessary > Signed-off-by: Michael Young <m.a.young@durham.ac.uk>Acked-by: Ian Campbell <ian.campbell@citrix.com>> > --- a/tools/pygrub/src/GrubConf.py 2011-10-17 21:26:48.000000000 > +0100 > +++ b/tools/pygrub/src/GrubConf.py 2011-10-17 21:31:41.000000000 > +0100 > @@ -79,6 +79,8 @@ > val = val.replace("(", "").replace(")", "") > if val[:5] == "msdos": > val = val[5:] > + if val[:3] == "gpt": > + val = val[3:] > self._part = int(val) > part = property(get_part, set_part) >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel