mkinitramfs: fix path to kernel config in /lib/modules

Starting with version 7.2, src:linux ships the kernel config in /lib/modules/${version}/, but in the "config" file instead of the "config-${version}" file. Fix that.

Fixes: 90addd04 ("Check for the kconfig in /lib/modules/ too")

Closes: #1144875

Edited by Aurelien Jarno

Merge request reports

Loading