[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3] tools/pygrub: Make pygrub understand default entry in string format



On Fri, 2014-06-27 at 10:07 -0400, Boris Ostrovsky wrote:
> Currently pygrub can only correctly parse grub2's default attribute when it is
> specified as a number. If it is set to ${saved_entry} or ${next_entry} then
> the first image (i.e. entry number 0) is selected. If any other value is
> specified (typically this would be the string in menuentry) pygrub will crash.
> 
> This patch will allow pygrub to interpret default attribute if it is specified
> as a string (note that in case of submenus only the leaf string will be
> considered).
> 
> Also issue a warning if default is set to ${saved_entry} or ${next_entry}.
> 
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>

Acked + applied. thanks.





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.