Re: [RESEND RESEND RESEND PATCH] templates: introduce GRUB_TOP_LEVEL_* vars

2022-09-30 Thread Denton Liu
Hi Oskari, On Fri, Sep 30, 2022 at 01:53:59AM -0500, Oskari Pirhonen wrote: > > I'm not too familiar with what end-users might want. If we want to make > > this more universal, we could either do GRUB_TOP_LEVEL_KERNEL and have > > that shared amongst all of the 10_* files or we could have multiple

[PATCH v2] templates: introduce GRUB_TOP_LEVEL_* vars

2022-09-30 Thread Denton Liu
A user may wish to use an image that is not sorted as the "latest" version as the top-level entry. For example, in Arch Linux, if a user has the LTS and regular kernels installed, `/boot/vmlinuz-linux-lts` gets sorted as the "latest" compared to `/boot/vmlinuz-linux`. However, a user may wish to us

[PATCH] efi/chainloader: fix device path handed to loaded image

2022-09-30 Thread Oliver Steffen
Do not split the path on the filesystem into directory and filename, and do not add them as two separate device path nodes. Instead add one node for the full path. When chain loading an efi binary the path constructed currently is, for example: /ACPI(a0341d0,0)/PCI(2,1f)/Sata(0,,0)/File(\efi\

Re: [PATCH] cmp: Only return success when both files have the same contents

2022-09-30 Thread Glenn Washburn
On Thu, 29 Sep 2022 16:00:59 +0200 Daniel Kiper wrote: > On Thu, Aug 25, 2022 at 07:56:29PM -0500, Glenn Washburn wrote: > > From: Li Gen > > > > This allows the cmp command to be used in GRUB scripts to conditionally > > run commands based on whether two files are the same. > > > > Signed-off-b