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

Re: [PATCH v4] templates: introduce GRUB_TOP_LEVEL_* vars



Mon, 17 Oct 2022 03:35:32 -0700 Denton Liu <liu.denton@gmail.com>:

> A user may wish to use an image that is not sorted as the "latest"
> version as the top-level entry. 

Correct.

What is really required is some form of file pattern matching and to use --id= in "menuentry title" commands.

That way one can have the "latest" of /boot/${short_pattern} as default entry, in case there are multiple variants of files matching ${short_pattern}. The pattern gets enabled with "grub-set-default pattern".

Based on this, I have to NACK your patch.


Olaf

Attachment: pgpB0tHgTfbhr.pgp
Description: Digitale Signatur von OpenPGP


Reply to: