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.

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

Olaf

Attachment: pgp0lZVrOLeMG.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to