[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Lennart Sorensen
Subject: Re: [PATCH v2] version: add a module to get GRUB version
Date: Wed, 15 Apr 2020 09:35:28 -0400
User-agent: NeoMutt/20170113 (1.7.2)

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 actually assume that the grub binary on the running system is
the same version as the one currently booting the system.  It probably
tends to be if the distribution takes care to auto upgrade it when a
new grub is installed, but it doesn't always happen.

Of course in the case of a distribution, it's package management would
already have that information.

I am not saying adding this is a bad idea, I just don't believe it does
anything useful.  I just believe it is trying to solve a problem that
doesn't actually exist.

Len Sorensen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]