[PATCH] Add fwconfig command

2017-01-23 Thread Matthew Garrett
Add a command to read values from the qemu fwcfg store. This allows data to be passed from the qemu command line to grub. Example use: echo '(hd0,1)' >rootdev qemu -fw_cfg opt/rootdev,file=rootdev fwconfig opt/rootdev root --- docs/grub.texi| 6 +++ grub-core/Makefile.core.def

[PATCH] Add fwconfig command

2017-01-24 Thread Matthew Garrett
Add a command to read values from the qemu fwcfg store. This allows data to be passed from the qemu command line to grub. Example use: echo '(hd0,1)' >rootdev qemu -fw_cfg opt/rootdev,file=rootdev fwconfig opt/rootdev root --- docs/grub.texi| 6 +++ grub-core/Makefile.core.def

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Konrad Rzeszutek Wilk
On Mon, Jan 23, 2017 at 03:43:32PM -0800, Matthew Garrett wrote: > Add a command to read values from the qemu fwcfg store. This allows data > to be passed from the qemu command line to grub. > > Example use: > > echo '(hd0,1)' >rootdev > qemu -fw_cfg opt/rootdev,file=rootdev > > fwconfig opt/roo

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Colin Watson
On Tue, Jan 24, 2017 at 09:52:35AM -0500, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 23, 2017 at 03:43:32PM -0800, Matthew Garrett wrote: > > + * GRUB is free software: you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License as published by > > + * the

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Konrad Rzeszutek Wilk
On Tue, Jan 24, 2017 at 04:36:03PM +, Colin Watson wrote: > On Tue, Jan 24, 2017 at 09:52:35AM -0500, Konrad Rzeszutek Wilk wrote: > > On Mon, Jan 23, 2017 at 03:43:32PM -0800, Matthew Garrett wrote: > > > + * GRUB is free software: you can redistribute it and/or modify > > > + * it under the

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Colin Watson
On Tue, Jan 24, 2017 at 11:40:57AM -0500, Konrad Rzeszutek Wilk wrote: > On Tue, Jan 24, 2017 at 04:36:03PM +, Colin Watson wrote: > > This language indicates that it's at the option of the person > > redistributing or modifying it whether they do so under the terms of > > version 3 or of some

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Thomas Schmitt
Hi, Colin Watson wrote: > https://www.gnu.org/licenses/gpl.html#howto One should emphasize that the FSF when designing new license versions only considers compatibility to older FSF licenses if they bear the "or later" clause. E.g. it is not possible to combine GPL version 2 software with LGPL v

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Lennart Sorensen
On Tue, Jan 24, 2017 at 07:18:13PM +0100, Thomas Schmitt wrote: > One should emphasize that the FSF when designing new license versions only > considers compatibility to older FSF licenses if they bear the "or later" > clause. > > E.g. it is not possible to combine GPL version 2 software with LGPL

Re: [PATCH] Add fwconfig command

2017-01-24 Thread Daniel Kiper
On Mon, Jan 23, 2017 at 04:32:26PM -0800, Matthew Garrett wrote: > Add a command to read values from the qemu fwcfg store. This allows data > to be passed from the qemu command line to grub. > > Example use: > > echo '(hd0,1)' >rootdev > qemu -fw_cfg opt/rootdev,file=rootdev > > fwconfig opt/rootde

Re: [PATCH] Add fwconfig command

2017-01-25 Thread Andrei Borzenkov
24.01.2017 02:43, Matthew Garrett пишет: > Add a command to read values from the qemu fwcfg store. This allows data > to be passed from the qemu command line to grub. > > Example use: > > echo '(hd0,1)' >rootdev > qemu -fw_cfg opt/rootdev,file=rootdev > > fwconfig opt/rootdev root The name soun