Accepting request 322430 from home:michal-m:branches:Base:System
- Only handle KMPs that are built using the %kernel_module_package macro (preparatory work for fate#319339). OBS-URL: https://build.opensuse.org/request/show/322430 OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=23
This commit is contained in:
parent
6d7b42d110
commit
27e6144d07
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 13:30:17 UTC 2015 - mmarek@suse.cz
|
||||
|
||||
- Only handle KMPs that are built using the %kernel_module_package
|
||||
macro (preparatory work for fate#319339).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 23 14:39:46 UTC 2015 - mmarek@suse.cz
|
||||
|
||||
|
@ -247,7 +247,9 @@ find_kmps() {
|
||||
local basename=$1 flavor=$2
|
||||
local kmp
|
||||
|
||||
for kmp in $(rpm -qa --qf '%{n}-%{v}-%{r}\n' --nodigest --nosignature "$basename-kmp-$flavor"); do
|
||||
# Only consider KMPs that are built using the %kernel_module_package macro
|
||||
# and have the _k<kver> string in their version
|
||||
for kmp in $(rpm -qa --qf '%{n}-%{v}-%{r}\n' --nodigest --nosignature "$basename-kmp-$flavor" | grep '_k[1-9][^-]*-[^-]*$'); do
|
||||
rpm -ql --nodigest --nosignature "$kmp" \
|
||||
| grep -Ee '^/lib/modules/[^/]+/.+\.ko$' \
|
||||
> $tmpdir/modules-$kmp
|
||||
|
Loading…
Reference in New Issue
Block a user