Home Home > GIT Browse > packaging
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-07-10 10:36:44 +0200
committerJiri Slaby <jslaby@suse.cz>2019-07-10 10:41:33 +0200
commiteb88df3a58828b4134cd192cafdec32319197945 (patch)
tree6c2529c18109e532b0d662627a9e33ba8f79988d
parent99a138a47a426c785b4fca302f5850ba73d2c388 (diff)
rpm/kernel-binary.spec.in: handle modules.builtin.modinfo
It was added in 5.2.
-rw-r--r--rpm/kernel-binary.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index f4d39e0b73..4727d7eed9 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -861,7 +861,8 @@ done | add_dirs_to_filelist >%my_builddir/kernel-devel.files
find lib/modules/%kernelrelease-%build_flavor \
-type d -o \
\( -path '*/modules.*' ! -path '*/modules.order' \
- ! -path '*/modules.builtin' \) -printf '%%%%ghost /%%p\n' \
+ ! -path '*/modules.builtin' \
+ ! -path '*/modules.builtin.modinfo' \) -printf '%%%%ghost /%%p\n' \
-o -name '*.ko' -prune -o -type f -printf '/%%p\n'
cat %my_builddir/base-modules
fi