Precisely filters ko files in "/lib/modules/$kernel/extra" to avoid creating unnecessary symbols.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
This commit is contained in:
parent
a07de434e6
commit
868a48e582
@ -1,6 +1,6 @@
|
||||
Name: kmod
|
||||
Version: 27
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Kernel module management
|
||||
# GPLv2+ is used by programs, LGPLv2+ is used for libraries.
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -116,6 +116,10 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf
|
||||
%doc TODO NEWS README
|
||||
|
||||
%changelog
|
||||
* Wed Nov 24 2021 Yang Yanchao <yangyanchao6@huawei.com> - 27-7
|
||||
- Precisely filters ko files in "/lib/modules/$kernel/extra"
|
||||
to avoid creating unnecessary symbols.
|
||||
|
||||
* Tue Nov 9 2021 Yang Yanchao <yangyanchao6@huawei.com> - 27-6
|
||||
- Sync the weak-modules script from the 20.03-LTS-SP1
|
||||
- use -V to sort kernel version in weak-modules
|
||||
|
||||
@ -985,7 +985,7 @@ filter_extra_absoluted()
|
||||
while read i; do
|
||||
# skip non-extra. The check is not perfect, but ok
|
||||
# to speed up handling in general cases
|
||||
echo "$i" |grep -q "extra/" || continue
|
||||
echo "$i" |grep -q "^extra/" || continue
|
||||
|
||||
read -a mods <<< "$i"
|
||||
for j in "${!mods[@]}"; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user