2
0
Stephan Kulow 2015-09-19 04:52:01 +00:00 committed by Git OBS Bridge
commit 127b66a5d2
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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