Skip to contentSkip to conversation

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

PATCH In review Mike Marciniszyn 2 participants 2 messages Aug 13, 2015 – Aug 26, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw

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

This causes conflicts when using multiple kernels built with this mechanism.

---
 scripts/package/mkspec |    1 -
 1 file changed, 1 deletion(-)
scripts/package/mkspec +0 -1
index 89f9669..71004da 100755
@@ -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"