SVN: geninitrd/trunk/geninitrd

arekm arekm at pld-linux.org
Sat Dec 3 16:13:08 CET 2011


Author: arekm
Date: Sat Dec  3 16:13:08 2011
New Revision: 12422

Modified:
   geninitrd/trunk/geninitrd
Log:
Be much more conservative when stripping symbols on kernel modules (so backtraces aren't crap).

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Sat Dec  3 16:13:08 2011
@@ -633,7 +633,7 @@
 		cp -a "/lib/modules/$kernel/$mod" "$DESTDIR/lib/modules/$kernel/$mod"
 		gunzip "$DESTDIR/lib/modules/$kernel/$mod" 2> /dev/null
 		if [ "$STRIP" ] && [ -x "$STRIP" ]; then
-			$STRIP --strip-unneeded --remove-section=.comment --remove-section=.note.GNU-stack "$DESTDIR/lib/modules/$kernel/${mod%.gz}"
+			$STRIP -g --remove-section=.comment "$DESTDIR/lib/modules/$kernel/${mod%.gz}"
 		fi
 	done
 }


More information about the pld-cvs-commit mailing list