xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Markey <admin@dmarkey.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Patch to fix pygrub with grub2 when /boot is a separate partition
Date: Fri, 5 Mar 2010 09:28:14 +0000	[thread overview]
Message-ID: <6894a6471003050128p314ca36av7fcc9c5431533ab2@mail.gmail.com> (raw)
In-Reply-To: <1267778983.20243.26.camel@localhost.localdomain>


[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]

Oops sorry.


Signed-off-by: David Markey <david@dmarkey.com>
--- /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



On 5 March 2010 08:49, Ian Campbell <Ian.Campbell@citrix.com> wrote:

> On Fri, 2010-03-05 at 08:20 +0000, David Markey wrote:
> > Pygrub doesn't detect the grub2 config file when it's on a
> > separate /boot partition. This should fix it.
>
> Thanks. You should include a Signed-off-by line.
>
> Acked-by: Ian Campbell <ian.campbell@citrix.com>
>
> Ian.
>
> >
> >
> >
> >
> > --- /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: 2762 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

      reply	other threads:[~2010-03-05  9:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05  8:20 Patch to fix pygrub with grub2 when /boot is a separate partition David Markey
2010-03-05  8:49 ` Ian Campbell
2010-03-05  9:28   ` David Markey [this message]

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=6894a6471003050128p314ca36av7fcc9c5431533ab2@mail.gmail.com \
    --to=admin@dmarkey.com \
    --cc=Ian.Campbell@citrix.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).