Open sveyret opened 12 months ago
No, there's no such option. Source directories are largely unpredictable, so we rely on these symlinks to tell us which one is correct.
With newer kernels make module_install
works even with CONFIG_MODULES
not set.
I do not know who sets up the symlinks, but if one is using gentoo-kernel
to manage kernels, this issue does not exist since https://github.com/gentoo/gentoo/pull/32358
Hi, If I understand the source code correctly, the kernel source directory (
/usr/src/linux-xxx
) is tied to the module directory (/lib/modules/xxx
) because it is read from a link (namedbuild
). On one of my server, I have a kernel whereCONFIG_MODULES
is disabled. In this case, there is no modules directory and so,eclean-kernel
is never removing my old sources. Is there currently a way to say toeclean-kernel
to remove the source directories without looking for the modules? Or could that be an option? Thank you.