On Tue, Oct 18, 2022 at 04:18:21PM +0200, Olaf Hering wrote:
> Tue, 18 Oct 2022 06:57:36 -0700 Denton Liu <liu.den...@gmail.com>:
> 
> > If I'm understanding correctly, what you're proposing is a mechanism for
> > setting the default entry. If I'm not mistaken, this seems like an
> > orthogonal discussion to me. My patch proposes a method of setting the
> > top-level menu entry while this method only sets the default entry,
> > which may be hidden behind a submenu.
> 
> 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:
> 
> saved_entry=Advanced options for SLE15SP4 (with Xen hypervisor)>Xen 
> hypervisor, version 
> 4.17.20220823T122205.399bcbf2-xen_unstable.150400.370>SLE15SP4, with Xen 
> 4.17.20220823T122205.399bcbf2-xen_unstable.150400.370 and Linux 
> 5.14.21-150400.24.21-default
> 
> This entry will be booted as long as both this specific Xen version and this 
> specific kernel version is found. There is a slim chance a SUSE specific 
> patch exists to enable this functionality.

Just to clarify. There is no specific patch, this is common function in grub.

Thanks,
Michael

> 
> Maybe the patch description lacks a specific example how the proposed change 
> is supposed to be used in your environment.
> 
> Olaf



> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to