#1144875 initramfs-tools: should check for the config file in /lib/modules/${version}/config

#1144875#5
Date:
2026-08-19 16:08:31 UTC
From:
To:
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

#1144875#10
Date:
2026-08-19 16:50:08 UTC
From:
To:
While I'm not against this, it seems a bit early. TTBOMK the live-boot
ecosystem still needs initramfs-tools. Please give affected users
more time.

Thanks,
Chris

#1144875#15
Date:
2026-08-19 19:22:04 UTC
From:
To:
control: tag -1 + patch
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/202

Once in testing, it will also need to be uploaded to trixie-backports to
support backported kernels.

Aurelien