From 1719f018133e547ce77010d812d50117031136c1 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Mon, 19 Aug 2024 16:27:42 -0600 Subject: [PATCH] Add modules.weakdep support Signed-off-by: Justin M. Forbes --- kernel.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index 0350cd195..6d38976c8 100644 --- a/kernel.spec +++ b/kernel.spec @@ -2793,7 +2793,7 @@ BuildKernel() { # in case below list needs to be extended, remember to add a # matching ghost entry in the files section as well rm -f modules.{alias,alias.bin,builtin.alias.bin,builtin.bin} \ - modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin} + modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin, weakdep} popd } @@ -3991,6 +3991,7 @@ fi\ %ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.softdep\ %ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.symbols\ %ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.symbols.bin\ +%ghost %attr(0644, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/modules.weakdep\ %{expand:%%files -f kernel-%{?3:%{3}-}modules.list %{?3:%{3}-}modules}\ %{expand:%%files %{?3:%{3}-}devel}\ %defverify(not mtime)\