X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=geninitrd-svn.patch;h=1b02ea2af9e012a78d2323acaf0ec6f51aee13a8;hb=382cfb29eec8f47e0f8a325ac88a1f390201b973;hp=fe11a366223bd8c25c69714a107dc825998c51bc;hpb=2a458b9c06299681212893307a5b75b91407265a;p=packages%2Fgeninitrd.git diff --git a/geninitrd-svn.patch b/geninitrd-svn.patch index fe11a36..1b02ea2 100644 --- a/geninitrd-svn.patch +++ b/geninitrd-svn.patch @@ -106,7 +106,7 @@ Index: geninitrd gunzip "$DESTDIR/lib/modules/$kernel/$mod" 2> /dev/null + if [ "$STRIP" ] ; then + mod_nocomp=${mod%.gz} -+ $STRIP --strip-unneeded --remove-section=.comment --remove-section=.note.GNU-stack "$DESTDIR/lib/modules/$kernel/$mod_nocomp" ++ $STRIP -g --remove-section=.comment "$DESTDIR/lib/modules/$kernel/$mod_nocomp" + fi done }