[PATCH] efi: add missed space in GRUB_EFI_GLOBAL_VARIABLE_GUID

2020-03-27 Thread Flavio Suligoi
Signed-off-by: Flavio Suligoi --- include/grub/efi/api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index d6f4de1..937058d 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -1295,7 +1295,7 @@ struct

RE: [PATCH] efi: add missed space in GRUB_EFI_GLOBAL_VARIABLE_GUID

2020-03-27 Thread Flavio Suligoi
Hi Vladimir and Adrian, > > On 3/27/20 1:11 PM, Vladimir 'phcoder' Serbinenko wrote: > > Could you explain why we would need this patch? It changes nothing > AFAICT > > It's a cosmetic change, there is one space character missing before the > last > value in the curly braces: Exactly, this is a

[PATCH] version: add a module to get GRUB version

2020-03-30 Thread Flavio Suligoi
le -s, --set=VARNAME Set a variable to return value. -o, --oem Add OEM version -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. grub> Signed-off-by: Flavio Suligoi --- Makefile.am

RE: [PATCH] version: add a module to get GRUB version

2020-03-30 Thread Flavio Suligoi
Hi Paul, > > Thanks a lot for the patch. Thanks for your suggestions! ... > > Out of curiosity, are you using coreboot based firmware? No, I'm not, I'm using a custom Phoenix BIOS (customized for our one of our boards) ... > > > Kind regards, > > Paul Best regards, Flavio __

[PATCH v1] version: add a module to get GRUB version

2020-03-31 Thread Flavio Suligoi
variable. -s, --set=VARNAME Assign return value to variable VARNAME. -o, --oem Add OEM version. -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. grub> Signed-off-by: Flavio Suligoi Reviewed-by: Paul

[PATCH v2] version: add a module to get GRUB version

2020-04-15 Thread Flavio Suligoi
variable. -s, --set=VARNAME Assign return value to variable VARNAME. -o, --oem Add OEM version. -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. grub> Signed-off-by: Flavio Suligoi Reviewed-by: Paul Menz

RE: [PATCH v2] version: add a module to get GRUB version

2020-04-15 Thread Flavio Suligoi
Hi Len, > On Wed, Apr 15, 2020 at 02:04:36PM +0200, Flavio Suligoi wrote: > > Sometimes, writing a custom grub.cfg configuration file, > > especially with embedded systems, it is indispensable > > to know the version of the running GRUB. > > This is essential fo

RE: [PATCH v2] version: add a module to get GRUB version

2020-04-16 Thread Flavio Suligoi
Hi Daniel, > > grub> help version > > Usage: version [OPTIONS] > > > > Print GRUB or GRUB+OEM version. > > If --set is specified, the version is assigned to variable. > > > > -s, --set=VARNAME Assign return value to variable VARNAME. > > -o, --oem Add OEM version. > > -h, --hel

[PATCH v3] version: add a module to get GRUB version

2020-04-27 Thread Flavio Suligoi
on items - comment/uncomment the two new items "git" and "oem" Note: the two new items ("git" and "oem") can be enabled/disabled independently. Signed-off-by: Flavio Suligoi Reviewed-by: Paul Menzel Reviewed-by: Daniel Kiper --- Changes in v3: patch

[PATCH 2/2] core: commands: efi: add commands to get/set EFI vars

2020-04-29 Thread Flavio Suligoi
olatile attribute. -v, --verbose Display more info about EFI variable -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. Signed-off-by: Flavio Suligoi --- docs/grub.texi | 137 +++ g

[PATCH 1/2] efi: add non-volatile parameter to grub_efi_set_variable

2020-04-29 Thread Flavio Suligoi
olatile or not. Signed-off-by: Flavio Suligoi --- grub-core/commands/efi/efifwsetup.c | 2 +- grub-core/kern/efi/efi.c| 15 +-- include/grub/efi/efi.h | 3 ++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/grub-core/commands/efi/efifwsetup

[PATCH v1 2/2] core: commands: efi: add commands to get/set EFI vars

2020-05-07 Thread Flavio Suligoi
olatile attribute. -v, --verbose Display more info about EFI variable -h, --help Display this help and exit. -u, --usage Display the usage of this command and exit. Signed-off-by: Flavio Suligoi --- Changes in v1: fix bug in grub-core/Makefile.core.def do