Skip to content

Commit a9dd941

Browse files
mmarciniMichal Marek
authored and
Michal Marek
committed
kbuild: avoid listing /lib/modules in kernel spec file
This causes conflicts when using multiple kernels built with this mechanism. Reviewed-by: Dennis Dalessandro <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Michal Marek <[email protected]>
1 parent bea107b commit a9dd941

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/package/mkspec

-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ echo "fi"
140140
echo ""
141141
echo "%files"
142142
echo '%defattr (-, root, root)'
143-
echo "%dir /lib/modules"
144143
echo "/lib/modules/$KERNELRELEASE"
145144
echo "%exclude /lib/modules/$KERNELRELEASE/build"
146145
echo "%exclude /lib/modules/$KERNELRELEASE/source"

0 commit comments

Comments
 (0)