forked from pool/suse-module-tools
Accepting request 323876 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/323876 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-module-tools?expand=0&rev=15
This commit is contained in:
commit
127b66a5d2
@ -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