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

2022-10-18 Thread Denton Liu
Hi Olaf, On Tue, Oct 18, 2022 at 01:12:35PM +0200, Olaf Hering wrote: > Mon, 17 Oct 2022 03:35:32 -0700 Denton Liu : > > > A user may wish to use an image that is not sorted as the "latest" > > version as the top-level entry. > > Correct. > > What

[PATCH v4] templates: introduce GRUB_TOP_LEVEL_* vars

2022-10-17 Thread Denton Liu
list before the loop. Signed-off-by: Denton Liu --- Notes: The only file that was tested is 10_linux. I do not have access to any of the other images or systems so they remain untested. Changes since v3: * Fix if formatting nit * Rebase on top of latest 'mast

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

2022-10-21 Thread Denton Liu
Hi Olaf, On Thu, Oct 20, 2022 at 05:13:06PM +0200, Olaf Hering wrote: > After reading the patch again, the newly added documentation states: > "This option should be a path to a kernel image." > > I think it needs to be more specific: is it expecting an absolute path, or > just the basename of

[PATCH v5] templates: introduce GRUB_TOP_LEVEL_* vars

2022-10-24 Thread Denton Liu
) to the list before the loop. [0]: https://aur.archlinux.org/packages/grub-linux-default-hook [1]: https://aur.archlinux.org/packages/grub-linux-rt-default-hook Signed-off-by: Denton Liu --- Notes: The only file that was tested is 10_linux. I do not have access to any of the other

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

2022-10-18 Thread Denton Liu
Hi Olaf, On Tue, Oct 18, 2022 at 04:18:21PM +0200, Olaf Hering wrote: > I think this can be done already today. At least YaST offers a way to select > a specific item in a submenu and pass it to grub-set-default. This leads to > an entry like this in grubenv: Right, we currently offer the