Skip to content

Commit d01c140

Browse files
jtornosmmasahir0y
authored andcommitted
kbuild: rpm-pkg: ghost modules.weakdep file
In the same way as for other similar files, mark as ghost the new file generated by depmod for configured weak dependencies for modules, modules.weakdep, so that although it is not included in the package, claim the ownership on it. Signed-off-by: Jose Ignacio Tornos Martinez <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent ba6c664 commit d01c140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/kernel.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEA
7474
echo "/lib/modules/%{KERNELRELEASE}"
7575

7676
for x in alias alias.bin builtin.alias.bin builtin.bin dep dep.bin \
77-
devname softdep symbols symbols.bin; do
77+
devname softdep symbols symbols.bin weakdep; do
7878
echo "%ghost /lib/modules/%{KERNELRELEASE}/modules.${x}"
7979
done
8080

0 commit comments

Comments
 (0)