Re: [PATCH v2] util/grub.d/linux: Improve initramfs detection

2022-04-27 Thread Daniel Kiper
Sorry, somehow I missed your reply... On Thu, Apr 07, 2022 at 09:35:19PM -0500, Oskari Pirhonen wrote: > On Thu, Apr 07, 2022 at 05:44:18PM +0200, Daniel Kiper wrote: > > On Sun, Mar 27, 2022 at 10:41:31PM -0500, Oskari Pirhonen wrote: > > > Add detection for initramfs of the form *.img.old. For e

Re: [PATCH v2] util/grub.d/linux: Improve initramfs detection

2022-04-07 Thread Oskari Pirhonen
On Thu, Apr 07, 2022 at 05:44:18PM +0200, Daniel Kiper wrote: > On Sun, Mar 27, 2022 at 10:41:31PM -0500, Oskari Pirhonen wrote: > > Add detection for initramfs of the form *.img.old. For example, Gentoo's > > sys-kernel/genkernel installs it as initramfs-*.img and moves any > > existing one to ini

Re: [PATCH v2] util/grub.d/linux: Improve initramfs detection

2022-04-07 Thread Daniel Kiper
On Sun, Mar 27, 2022 at 10:41:31PM -0500, Oskari Pirhonen wrote: > Add detection for initramfs of the form *.img.old. For example, Gentoo's > sys-kernel/genkernel installs it as initramfs-*.img and moves any > existing one to initramfs-*.img.old. You are mentioning initramfs* files but the patch a

[PATCH v2] util/grub.d/linux: Improve initramfs detection

2022-03-27 Thread Oskari Pirhonen
Add detection for initramfs of the form *.img.old. For example, Gentoo's sys-kernel/genkernel installs it as initramfs-*.img and moves any existing one to initramfs-*.img.old. Signed-off-by: Oskari Pirhonen --- v1 -> v2: - don't reorder the checks - include 20_linux_xen.in util/grub.d/10_linux.