summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2015-08-13 23:16:10 +0200
committerMichal Marek <mmarek@suse.com>2015-08-26 11:26:35 +0200
commita9dd941d840714b96b0a60451f6a3aa3a9be8fc6 (patch)
treebbe8a63047806fe19f1a76f91078c930fbaa4d9f
parentfallback to hostname in scripts/package/builddeb (diff)
downloadlinux-a9dd941d840714b96b0a60451f6a3aa3a9be8fc6.tar.xz
linux-a9dd941d840714b96b0a60451f6a3aa3a9be8fc6.zip
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>
-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"