WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Jeremy Katz <katzj@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xen-booloader: grub parser improvement & bug fix
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xen-booloader: grub parser improvement & bug fix, aq <=