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

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

2020-04-16 Thread Daniel Kiper
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 for every automatic sw update procedure. > > Additionally

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 for every automatic sw update procedu

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

2020-04-15 Thread Lennart Sorensen
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 for every automatic sw update procedure. You can't actua

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

2020-04-15 Thread Flavio Suligoi
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 for every automatic sw update procedure. Additionally to the standard GRUB version, I added a supplementary "OEM" version, to ke