Currently, here is the relevant code in 10_linux for detecting initrds:

  initrd_real=
  for i in "initrd.img-${version}" "initrd-${version}.img" 
"initrd-${version}.gz" \
           "initrd-${version}" "initramfs-${version}.img" \
           "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
           "initrd-${alt_version}" "initramfs-${alt_version}.img" \
           "initramfs-genkernel-${version}" \
           "initramfs-genkernel-${alt_version}" \
           "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
           "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
    if test -e "${dirname}/${i}" ; then
      initrd_real="${i}"
      break
    fi
  done

Notice that it does not include initramfs-${version} or initramfs-${alt_version} and variations thereof.

These are the names generated under Alpine Linux.
As such, please add variations to all existing initramfs-* options, excluding ".img".

_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to