summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJose Ignacio Tornos Martinez <jtornosm@redhat.com>2024-07-26 12:00:26 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-07-28 11:07:03 +0300
commitd01c14074be79e5f5270498f90530a12583fbf7a (patch)
tree0d1f487fb33dc4612d2454380c22dfd4b96740e2 /scripts
parentba6c664081afd18da86ac49cb22ceb266f89a561 (diff)
downloadlinux-d01c14074be79e5f5270498f90530a12583fbf7a.tar.xz
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 <jtornosm@redhat.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package/kernel.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec
index 74355ff0e106..ac3e5ac01d8a 100644
--- a/scripts/package/kernel.spec
+++ b/scripts/package/kernel.spec
@@ -74,7 +74,7 @@ ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEA
echo "/lib/modules/%{KERNELRELEASE}"
for x in alias alias.bin builtin.alias.bin builtin.bin dep dep.bin \
- devname softdep symbols symbols.bin; do
+ devname softdep symbols symbols.bin weakdep; do
echo "%ghost /lib/modules/%{KERNELRELEASE}/modules.${x}"
done