Commit a9dd941d authored by Mike Marciniszyn's avatar Mike Marciniszyn Committed by Michal Marek

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

This causes conflicts when using multiple kernels built
with this mechanism.
Reviewed-by: default avatarDennis Dalessandro <>
Signed-off-by: default avatarMike Marciniszyn <>
Signed-off-by: default avatarMichal Marek <>
parent bea107b1
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment