kbuild: avoid listing /lib/modules in kernel spec file

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>
This commit is contained in:
Mike Marciniszyn 2015-08-13 17:16:10 -04:00 committed by Michal Marek
parent bea107b1f1
commit a9dd941d84
1 changed files with 0 additions and 1 deletions

View File

@ -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"