Re: [PATCH] util/grub.d/10_linux: Improve initramfs detection

2022-03-26 Thread Oskari Pirhonen
On Thu, Mar 24, 2022 at 06:11:25PM +0100, Daniel Kiper wrote: > On Wed, Mar 16, 2022 at 11:21:51PM -0500, Oskari Pirhonen wrote: > > Prefer using a *.old initramfs for *.old kernels if it exists. Otherwise > > look for an initramfs without the suffix. > > > > Also add detection for initramfs of the

Re: [PATCH] util/grub.d/10_linux: Improve initramfs detection

2022-03-24 Thread Daniel Kiper
On Wed, Mar 16, 2022 at 11:21:51PM -0500, Oskari Pirhonen wrote: > Prefer using a *.old initramfs for *.old kernels if it exists. Otherwise > look for an initramfs without the suffix. > > Also add detection for initramfs of the form *.img.old. For example, > Gentoo's sys-kernel/genkernel installs i

[PATCH] util/grub.d/10_linux: Improve initramfs detection

2022-03-16 Thread Oskari Pirhonen
Prefer using a *.old initramfs for *.old kernels if it exists. Otherwise look for an initramfs without the suffix. Also 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. S