[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] templates: introduce GRUB_TOP_LEVEL_* vars
- To: The development of GNU GRUB <grub-devel@xxxxxxx>
- From: Michael Chang <mchang@xxxxxxxx>
- Date: Wed, 19 Oct 2022 14:23:13 +0800
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5G+eFuzJxj7+/WKBbpljkfn32fF7Ge5Hm0UmQOXWsUE=; b=j0186qq+7dIvqshOuniSHpvJ1QgURdiKJ50DOoJQUeAVhlKXkm7LJMsBPx1Nk809EUT/2TtYa0FyLUBTjU7BY8FOrQJ/mAdn+EFWHr1bIuOD61N6XDkUZpsw+vY0JKlN7EtYDT1yZ60x18+55JSLlaYzp07ksw5qMrO3RGKLYeBlyFFoyG9Zt6MSKkg/gQQJojhbeh7c1qiDo750lBjAONVxIWQaPxinxmIBURqnXPdvz5G9NznEFLAFpbCN2n/yrrr81LPk1ZibSHKSJjwl9fvbQpo0NOlwOuKqpIX5uEI9TRjJ6XZMYd9+/AqCbgwZonJLYlwmn1ztM/1T1vbL9Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TOFn00KMklvQR3lNNosekwei4qbguD9ZJJBpMIKD2qAjSKVoMyzRovqIqZzJst9EzVQHG2nsFgRofPb+HckOPYBRUTVrMRZnsUCNcuawQNZNz8PAXh/a9EOn0qZMRdgboSPTe+qa7hZS6Vlrl31Oa2Z3lhOULzpgmdPvoYOF9gTDYX+pyQZIHlFAbJCFjM1bPzKtrlhT69bSoKbyuPlkyBW0h/HyddqFNeUYQ/5mNCfse/9AdbHfp9JfI9bJF2ANlX7PMDShUBLUirEIO4ZSDpdsXhk+HjxxRHB8FhtU1KZ2ZOODUOW+oJ2xX1zRW95B5Ae1MYvaEq0VdGFMQwLfdg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Denton Liu <liu.denton@xxxxxxxxx>, Daniel Kiper <daniel.kiper@xxxxxxxxxx>, Oskari Pirhonen <xxc3ncoredxx@xxxxxxxxx>, mathieu.desnoyers@xxxxxxxxxxxx, rharwood@xxxxxxxxxx, samuel.thibault@xxxxxxxxxxxx, debian-bsd@xxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 19 Oct 2022 06:23:34 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Tue, Oct 18, 2022 at 04:18:21PM +0200, Olaf Hering wrote:
> Tue, 18 Oct 2022 06:57:36 -0700 Denton Liu <liu.denton@xxxxxxxxx>:
>
> > 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@xxxxxxx
> https://lists.gnu.org/mailman/listinfo/grub-devel
|