kbuild: avoid listing /lib/modules in kernel spec file
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 13 Aug 2015 21:16:10 +0000 (17:16 -0400)
committerMichal Marek <mmarek@suse.com>
Wed, 26 Aug 2015 09:26:35 +0000 (11:26 +0200)
This causes conflicts when using multiple kernels built
with this mechanism.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/package/mkspec

index 89f9669d4f0070fcaa694814341a7adb48fdc814..71004daefe31b6fc557453d1655005c81f7fa9cc 100755 (executable)
@@ -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"