From: Jeremy Katz Subject: [PATCH] Fix a few other pygrub thinkos Date: Wed, 09 Nov 2005 17:00:10 -0500 Message-ID: <1131573611.3533.68.camel@bree.local.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-+DnCgLA+M+SYelzBTg8t" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --=-+DnCgLA+M+SYelzBTg8t Content-Type: text/plain Content-Transfer-Encoding: 7bit The attached fixes a few other thinkos in pygrub including a) a couple of variables were referenced wrong b) fix using arrow keys in the menu to act correctly c) and look for grub config properly for /boot partition Signed-off-by: Jeremy Katz --=-+DnCgLA+M+SYelzBTg8t Content-Disposition: attachment; filename=xen-pygrub-various-fixes.patch Content-Type: text/x-patch; name=xen-pygrub-various-fixes.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -r abbe3df33774 tools/pygrub/src/pygrub --- a/tools/pygrub/src/pygrub Tue Nov 8 17:39:58 2005 +++ b/tools/pygrub/src/pygrub Wed Nov 9 16:58:18 2005 @@ -89,8 +89,8 @@ buf = os.read(fd, 512) for poff in (446, 462, 478, 494): # partition offsets # active partition has 0x80 as the first byte - if struct.unpack("