diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | kmod.prov | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ - merge patches from package repository: o fix build with rpm-4.9+ o fix %rename macro + o have kmod.prov handle .xz compressed modules as well Version 1.148 - 25 Jul 2012, by Thierry Vignaud - drop automatically generated dependencies on interpreters we either don't @@ -1,7 +1,7 @@ #!/bin/sh provideslist=`sed "s/['\"]/\\\&/g"` -modulelist=$(echo "$provideslist" | egrep '^.*(/lib/modules/|/var/lib/dkms/).*\.ko(\.gz)?$') +modulelist=$(echo "$provideslist" | egrep '^.*(/lib/modules/|/var/lib/dkms/).*\.ko(\.[g,x]z)?$') echo $modulelist | xargs -r /sbin/modinfo | \ perl -lne ' $name = $1 if m!^filename:\s*(?:.*/)?([^/]+)\.k?o!; |