Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1okkWv-00073a-Gt for mharc-grub-devel@gnu.org; Tue, 18 Oct 2022 07:13:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okkWu-00073R-CP for grub-devel@gnu.org; Tue, 18 Oct 2022 07:13:04 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.50]:43881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okkWo-0004ZW-9R for grub-devel@gnu.org; Tue, 18 Oct 2022 07:13:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1666091562; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=LtcbZ9Iww575aSLIrkBg79ikIdVbb2hej8vnSDJr77Q=; b=tKE5Cc6UXOo5coTpnKDUbm3BwCfN7cKEPctjvIR10G6e0MBvSyOYtJTaU9QznPhJlm k7DW/yzD4Z30scpzGT+bNLMOPnkKWxlmeLJHOQT8fcZqiBUfY+xp8DbXkV+mtq9Qc2aP sVKSTK1jMtIre5IqM09ZdSm5CSX7XOtjlaywy2gUlt0bqNXg9Ldcn6/ZgFYYZ3yIDSIG 5ela96sFSVsuTIPy9PXgqC70a6WsxITox1JVLF9TGnyG4AiBDdU0E1jWhbexbBoAMjSK Tmpg3TLY3B2muIWFVCHqIy9taktTWloTW7cIAMRb9jUf1oPSPN65e7eIB/4r1zZoCAf+ xieQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QLpd5ylWvMDX2j/OiDv7LX1ITFkr8sRtLhQJY8wcRJ+GvY" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 48.2.0 AUTH) with ESMTPSA id z9e8dfy9IBCgpG5 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 18 Oct 2022 13:12:42 +0200 (CEST) Date: Tue, 18 Oct 2022 13:12:35 +0200 From: Olaf Hering To: Denton Liu Cc: grub-devel@gnu.org, Daniel Kiper , Oskari Pirhonen , mathieu.desnoyers@efficios.com, rharwood@redhat.com, samuel.thibault@ens-lyon.org, debian-bsd@lists.debian.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH v4] templates: introduce GRUB_TOP_LEVEL_* vars Message-ID: <20221018131235.5e70f0bc.olaf@aepfle.de> In-Reply-To: <20221017103532.845293-1-liu.denton@gmail.com> References: <20221017103532.845293-1-liu.denton@gmail.com> X-Mailer: Claws Mail 20220819T065813.516423bc hat ein Softwareproblem, kann man nichts machen. MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/E6wAUjBaT41rYmMIlhKgAKC"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: none client-ip=85.215.255.50; envelope-from=olaf@aepfle.de; helo=mo4-p01-ob.smtp.rzone.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2022 11:13:04 -0000 --Sig_/E6wAUjBaT41rYmMIlhKgAKC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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.=20 Correct. What is really required is some form of file pattern matching and to use --= id=3D in "menuentry title" commands. That way one can have the "latest" of /boot/${short_pattern} as default ent= ry, in case there are multiple variants of files matching ${short_pattern}.= The pattern gets enabled with "grub-set-default pattern". Based on this, I have to NACK your patch. Olaf --Sig_/E6wAUjBaT41rYmMIlhKgAKC Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE97o7Um30LT3B+5b/86SN7mm1DoAFAmNOiiMACgkQ86SN7mm1 DoA4mRAAnXfdszjjzJS++3/9jLYMrjGScSHdTCxMkwofUdmS7PxjvHEI1Xofs0t5 IdjAT2g7brdzynpd2y1PDYAcs9OXI5lowh+qWsPll9OVvBFppQoyg6dzAAmue6N3 XWB8vyUgemZaLjphOsUkGRcFpafTF/8ChX8En+CkqLggDS6+wzGJAFnEL1lh5UuY ZBvnNHThRZ1FXQa/EOnDsdIXlAgu4tIeo5F6BY8acpM4rDb6q9LsMvzanKOkJoqv ckfurfIqvTjm76c+lmKJ5tcWsT/ouHuJ7BuRsWsyjAJ1dyw34Pj1LyTQ38DSP6s3 DBidiRbApGz0Dn2Fzn07QSx2hRXqYqR3C7O7/ATHwbVQNdxyc0PG9ggCPZT6RyfG ia//22r1dNSE60Efc75Fbx2ru8MLokq1Uzf2GBfNPETF8IHTtJtCmAZs+9HVELbP t7Ugwyt4ga1I/EpKYEZpiXQBMVFhIROynFSXS9guNFWf2QrlXTTMBWTr7/TJBlqt s41KwF0SBNMD8rOs3rESwfyZjUTewaM1avm5ccjQcAVK87/CyBVXFbPXFIxRfWjg ysR/zYQt/DiiUBinNSB+BRpjOeHteyJMFBKlsUX8WDyDRIF4jFsoYo4vHlywd97C 0BNjmZ4mypYVJXURcDHP5xs13aABYj2Q/9saYp1PONk+xtvvUY0= =Myb3 -----END PGP SIGNATURE----- --Sig_/E6wAUjBaT41rYmMIlhKgAKC--