Talk:Kernel module package guidelines

From ArchWiki
Jump to navigation Jump to search

Why is the kernel version hard-coded in the PKGBUILDs? For users of custom compiled kernels it would be much easier if the hard-coded version would be replaced by $(uname -r). Rebuilding modules for custom compiled kernels would then be as easy as in gentoo.

Because the version of kernel that is required to build a PKGBUILD and the currently installed kernel version could not match. See bug #6930