On 2024-06-21 15:07, Laszlo wrote: > Would the following work ? If it does it should be probably added to > the Debian package config. > >> initrdname="initrd-${kernel}.img"
You mean as a value in /etc/{dracut.conf|dracut.conf.d/*}? I haven't tested it, because I thought that the dracut script does not evaluate the value (as far as I can see from the sources). But OTOH dracut *sources* the configuration files, so this might actually work. Of course only if dracut sources them per kernel version. I could test it, but only on Monday ...