summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2015-08-13 17:16:10 -0400
committerMichal Marek <mmarek@suse.com>2015-08-26 11:26:35 +0200
commita9dd941d840714b96b0a60451f6a3aa3a9be8fc6 (patch)
treebbe8a63047806fe19f1a76f91078c930fbaa4d9f /scripts
parentbea107b1f1ee79da0bc2c1ee0c70bf1c3c6c41b4 (diff)
downloadlinux-a9dd941d840714b96b0a60451f6a3aa3a9be8fc6.tar.bz2
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package/mkspec1
1 files changed, 0 insertions, 1 deletions
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"