initrd_naming.diff 554 B

12345678910111213
  1. --- grub-2.06/util/grub.d/10_linux.in.orig 2020-12-22 20:24:17.000000000 -0300
  2. +++ grub-2.06/util/grub.d/10_linux.in 2021-09-09 09:23:53.809125172 -0300
  3. @@ -218,7 +218,8 @@
  4. "initramfs-genkernel-${version}" \
  5. "initramfs-genkernel-${alt_version}" \
  6. "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
  7. - "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
  8. + "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" \
  9. + "initrd.gz" "initrd.lz"; do
  10. if test -e "${dirname}/${i}" ; then
  11. initrd_real="${i}"
  12. break