kbuild: avoid listing /lib/modules in kernel spec file
PATCH 1/1 kbuild: avoid listing /lib/modules in kernel spec file
This causes conflicts when using multiple kernels built with this mechanism.
Reviewed-by Dennis Dalessandro <[email protected]>
Signed-off-by Mike Marciniszyn <[email protected]>
--- scripts/package/mkspec | 1 - 1 file changed, 1 deletion(-)
scripts/package/mkspec +0 -1
@@ -140,7 +140,6 @@ echo "fi" echo "" echo "%files" echo '%defattr (-, root, root)' -echo "%dir /lib/modules" echo "/lib/modules/$KERNELRELEASE" echo "%exclude /lib/modules/$KERNELRELEASE/build" echo "%exclude /lib/modules/$KERNELRELEASE/source"
Quoted 5 lines · Mike Marciniszyn
This causes conflicts when using multiple kernels built with this mechanism.
Reviewed-by Dennis Dalessandro <[email protected]>Signed-off-by Mike Marciniszyn <[email protected]>
It's not obvious to me which file conflict you are getting, but you are right that the directory does not have to be in the package. Applied to kbuild.git#misc.
Michal