[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-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

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

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

[PATCH v3] templates: introduce GRUB_TOP_LEVEL_* vars

2022-10-05 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 v2: * Added more detail to GRUB_TOP_LEVEL docs * Moved GRUB

[PATCH v2] templates: introduce GRUB_TOP_LEVEL_* vars

2022-09-30 Thread Denton Liu
to any of the other images or systems so they remain untested. Signed-off-by: Denton Liu --- docs/grub.texi | 6 ++ util/grub-mkconfig.in | 3 +++ util/grub-mkconfig_lib.in | 21 + util/grub.d/10_hurd.in | 4 util/grub.d/10_kfreebsd.in |

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

2022-09-30 Thread Denton Liu
Hi Oskari, On Fri, Sep 30, 2022 at 01:53:59AM -0500, Oskari Pirhonen wrote: > > I'm not too familiar with what end-users might want. If we want to make > > this more universal, we could either do GRUB_TOP_LEVEL_KERNEL and have > > that shared amongst all of the 10_* files or we could have

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

2022-09-29 Thread Denton Liu
Thanks for the response, Oskari! On Thu, Sep 29, 2022 at 01:08:03AM -0500, Oskari Pirhonen wrote: > On Tue, Sep 27, 2022 at 05:30:45 -0700, Denton Liu wrote: > > A user may wish to use an image that is not sorted as the "latest" > > version as the top-level entry. F

[RESEND RESEND RESEND PATCH] templates: introduce GRUB_TOP_LEVEL_* vars

2022-09-27 Thread Denton Liu
ver, a user may wish to use the regular kernel as the default with the LTS only existing as a backup. Introduce the GRUB_TOP_LEVEL_LINUX and GRUB_TOP_LEVEL_XEN variables to allow users to specify the top-level entry. Signed-off-by: Denton Liu --- docs/grub.texi | 5 + util/grub-mk

[RESEND RESEND PATCH] templates: introduce GRUB_TOP_LEVEL_* vars

2022-09-21 Thread Denton Liu
ver, a user may wish to use the regular kernel as the default with the LTS only existing as a backup. Introduce the GRUB_TOP_LEVEL_LINUX and GRUB_TOP_LEVEL_XEN variables to allow users to specify the top-level entry. Signed-off-by: Denton Liu --- docs/grub.texi | 5 + util/grub-mk

[RESEND PATCH] templates: introduce GRUB_TOP_LEVEL_* vars

2022-08-29 Thread Denton Liu
ver, a user may wish to use the regular kernel as the default with the LTS only existing as a backup. Introduce the GRUB_TOP_LEVEL_LINUX and GRUB_TOP_LEVEL_XEN variables to allow users to specify the top-level entry. Signed-off-by: Denton Liu --- docs/grub.texi | 5 + util/grub-mk

[PATCH] templates: introduce GRUB_TOP_LEVEL_* vars

2022-08-21 Thread Denton Liu
ver, a user may wish to use the regular kernel as the default with the LTS only existing as a backup. Introduce the GRUB_TOP_LEVEL_LINUX and GRUB_TOP_LEVEL_XEN variables to allow users to specify the top-level entry. Signed-off-by: Denton Liu --- docs/grub.texi | 5 + util/grub-mk