Re: [PATCH v4] templates: introduce GRUB_TOP_LEVEL_* vars
Olaf Hering <[email protected]> Tue, 18 Oct 2022 16:18:21 +0200
| Newsgroups | gmane.comp.emulators.xen.devel,gmane.comp.boot-loaders.grub.devel,gmane.linux.debian.ports.bsd |
|---|---|
| Message-ID | <[email protected]> |
Tue, 18 Oct 2022 06:57:36 -0700 Denton Liu <[email protected]>: > 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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE97o7Um30LT3B+5b/86SN7mm1DoAFAmNOta0ACgkQ86SN7mm1 DoALCg//dbAthIrUpj/CgWD2MVsYXsTcxEnduej/jcSyWMLfj8qeRCuNuMx03neD 3OMOhs/3nz6cnbp9fKv8421fP8qaUrgwn+meU6Er/r0bn08pGvlBBrNnetwrV/Sv FfFdXuemnaGTyDLmw3VNvTWGcHMZwGpASjdIPJd7OImLs4XBqO2zLlptCiP/nRCv bBAR3V8J3EbKjNtqqiZVrf1fFdAVNcbyB/0jQIewJ5Fv/lo+grg8Hx6YtchPvJlJ lcE42oQ7G637/HH8y9nZig1Tzm0jat7/WbmbM8wkSTBL0DM+rWeHI9H/85U9l9Sc fC7hq5LafaaTBmHyT6W3kK0anGArLrXB1ii4Cg7ZDz1ClpoXB042BeXujtpOzJMC pAi3uE/7qkVsZkL+TJa45Be47TbLT7MIIzyFpJNTOGmVwCeNkyqLiHAdYwTzojgG im++PkFocBq4w2+SLmSNlzLtbMIv3KufrjM0hTrJga6M30QrRF+Uhu7D+iE/7vpR oFYjtczM7WfETQ6E9In/pqhPp/8l+X/BwpEV4RrEVofxXSsPH4ajMZ7x+LKiOMNC DDlsD2xkRwQMTdqgyboSBWP9GBmDw+jH7WUUEzOBNXsIYMnckLaKi0T1Rb2mSppN +RsP/PReLrCnsB6DwtDespr5lO4Wf1U7laVpqMmC54fwmpxeEVA= =feKy -----END PGP SIGNATURE-----