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

2022-05-17 Thread Daniel Kiper
On Mon, May 02, 2022 at 11:12:56PM -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. > > Apply the same scheme to initrd-*.img and initrd

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

2022-05-02 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. Apply the same scheme to initrd-*.img and initrd-*.gz files for consistency. Signed-off-by: Oskari Pirhonen --- v2 -> v3