From: Mike Marciniszyn Date: Thu, 13 Aug 2015 21:16:10 +0000 (-0400) Subject: kbuild: avoid listing /lib/modules in kernel spec file X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9dd941d840714b96b0a60451f6a3aa3a9be8fc6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git kbuild: avoid listing /lib/modules in kernel spec file This causes conflicts when using multiple kernels built with this mechanism. Reviewed-by: Dennis Dalessandro Signed-off-by: Mike Marciniszyn Signed-off-by: Michal Marek --- diff --git a/scripts/package/mkspec b/scripts/package/mkspec index 89f9669d4f00..71004daefe31 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -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"