|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] pygrub: always append --args
On Fri, 2012-09-07 at 10:14 +0100, Olaf Hering wrote:
> On Fri, Sep 07, Ian Campbell wrote:
>
> > > except IndexError:
> > > img = g.cf.images[0]
> > >
> > > - grubcfg = { "kernel": None, "ramdisk": None, "args": None }
> > > + grubcfg = { "kernel": None, "ramdisk": None, "args": "" }
> > >
> > > grubcfg["kernel"] = img.kernel[1]
> > > if img.initrd:
> > > grubcfg["ramdisk"] = img.initrd[1]
> > > if img.args:
> >
> > With the above change isn't this always true?
>
> img.args comes from img = g.cf.images[sel]?
Oh sorry, for some reason I did s/grubcfg/img/ in my head in that
assignment.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |