Package: initramfs-tools
Version: 0.151
Severity: important

Starting with src:linux 7.2, the kernel config file is moved to
/lib/modules/${version}/config instead of /boot/config-${version} [1].
This causes initramfs-tools to emit a warning when generating the
initrd:

| W: Kernel configuration /boot/config-7.2+unreleased-riscv64 is missing, zstd 
compression support (CONFIG_RD_ZSTD) cannot be checked and is assumed to be 
available

initramfs-tools actually looks in /lib/modules/${version}, but expect
the config file to be named config-${version}. This need to be updated.

Alternatively, as dracut is now the default initrd generator, maybe
support for initramfs-tools should be removed from the src:linux
package.

[1] 
https://salsa.debian.org/kernel-team/linux/-/commit/4b94722d0432685c2249a34ff753319eb161f30a

Reply via email to