SVN: geninitrd/trunk/geninitrd
arekm
arekm at pld-linux.org
Wed Nov 9 19:19:40 CET 2011
Author: arekm
Date: Wed Nov 9 19:19:39 2011
New Revision: 12411
Modified:
geninitrd/trunk/geninitrd
Log:
Use uncompressed module file name.
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Wed Nov 9 19:19:39 2011
@@ -633,7 +633,8 @@
cp -a "/lib/modules/$kernel/$mod" "$DESTDIR/lib/modules/$kernel/$mod"
gunzip "$DESTDIR/lib/modules/$kernel/$mod" 2> /dev/null
if [ "$STRIP" ] ; then
- $STRIP --strip-unneeded --remove-section=.comment --remove-section=.note.GNU-stack "$DESTDIR/lib/modules/$kernel/$mod"
+ mod_nocomp=${mod%.gz}
+ $STRIP --strip-unneeded --remove-section=.comment --remove-section=.note.GNU-stack "$DESTDIR/lib/modules/$kernel/$mod_nocomp"
fi
done
}
More information about the pld-cvs-commit
mailing list