From: David Markey <admin@dmarkey.com>
To: Xen-devel <xen-devel@lists.xensource.com>
Subject: Patch to fix pygrub with grub2 when /boot is a separate partition
Date: Fri, 5 Mar 2010 08:20:48 +0000 [thread overview]
Message-ID: <6894a6471003050020i213db4e1u7c8a57c5a392d7a1@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]
Pygrub doesn't detect the grub2 config file when it's on a separate /boot
partition. This should fix it.
--- /a/usr/bin/pygrub 2010-03-04 12:32:36.000000000 +0000
+++ /b/usr/bin/pygrub 2010-03-05 08:16:57.000000000 +0000
@@ -383,7 +383,7 @@
["/boot/grub/menu.lst", "/boot/grub/grub.conf",
"/grub/menu.lst", "/grub/grub.conf"]) + \
map(lambda x: (x,grub.GrubConf.Grub2ConfigFile),
- ["/boot/grub/grub.cfg"])
+ ["/boot/grub/grub.cfg","/grub/grub.cfg"])
if not fs:
# set the config file and parse it
[-- Attachment #1.2: Type: text/html, Size: 912 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2010-03-05 8:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 8:20 David Markey [this message]
2010-03-05 8:49 ` Patch to fix pygrub with grub2 when /boot is a separate partition Ian Campbell
2010-03-05 9:28 ` David Markey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6894a6471003050020i213db4e1u7c8a57c5a392d7a1@mail.gmail.com \
--to=admin@dmarkey.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).