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

[Xen-devel] [PATCH] xen-booloader: grub parser improvement & bug fix


  • To: Jeremy Katz <katzj@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: aq <aquynh@xxxxxxxxx>
  • Date: Fri, 29 Apr 2005 12:22:06 +0900
  • Delivery-date: Fri, 29 Apr 2005 03:21:55 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=B/uo2WV48tA7jD8fILF+gLVIgBTOmrScHinveAXHewm2MgyBcYPmuwUV3S/ZqWDFs9krVOhy5f7IxnGses4VUWSN2gD9qnhmxVnqaR2olNJxe47QwuylohBWLd5CSplavk9sK7wyPnkoF3yFiGdXs3vePLybKLDM3Ev1h0p7GtQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello,

Here is a patch to fix a bug and improve grub parser of xen-booloader.
Please apply this on top of the last Jeremy's patch.

List of changes:
- More tolerant when dealing with some grub directive which has no
parameter, like "savedefault", "boot"
- Support few more grub directives like "boot", "savedefault"
- Set first item as default boot option if "saved" boot option is
indicated (the oiginal choice is to raise error)
- Fix bug on sys.argv
- Insert and remove few blank lines for more readable.

$ diffstat GrubConf.aq.patch 
 GrubConf.py |   43 ++++++++++++++++++++++++++++++++-----------
 1 files changed, 32 insertions(+), 11 deletions(-)

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

Attachment: GrubConf.aq.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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