From: Harald Hoyer Date: Tue, 20 Jul 2010 09:24:37 +0000 (+0200) Subject: dracut: fixed stripping of kernel modules X-Git-Tag: 007~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dde97b301f0c053e796123b46967739f17cacfb7;p=thirdparty%2Fdracut.git dracut: fixed stripping of kernel modules --- diff --git a/dracut b/dracut index 6b590f54c..0a715746a 100755 --- a/dracut +++ b/dracut @@ -296,7 +296,7 @@ if [[ $do_strip = yes ]] ; then fi if [[ $do_strip = yes ]] ; then - for f in $(find "$initdir" -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 -or -path '/lib/modules/*.ko' \) ); do + for f in $(find "$initdir" -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 -or -path '*/lib/modules/*.ko' \) ); do dinfo "Stripping $f" strip -g "$f" 2>/dev/null|| : #