Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4119/scripts
Modified Files:
Tag: rel-1-2-patches
cd_cleanup
Log Message:
removed all symbols from most binaries
Index: cd_cleanup
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/cd_cleanup,v
retrieving revision 1.8.2.1
retrieving revision 1.8.2.2
diff -u -d -r1.8.2.1 -r1.8.2.2
--- cd_cleanup 29 Aug 2005 01:37:31 -0000 1.8.2.1
+++ cd_cleanup 29 Aug 2005 02:08:58 -0000 1.8.2.2
@@ -28,6 +28,9 @@
rm $CDDIR/usr/lib/*a
rm -rf $CDDIR/usr/include/*
find $CDDIR -type f -exec strip --strip-debug '{}' ';'
+ find $CDDIR/{bin,sbin} -type f | grep -v "\.so" | xargs -n 1 strip --strip-all
+ find $CDDIR/usr/{bin,sbin} -type f | grep -v "\.so" | xargs -n 1 strip --strip-all
+ find $CDDIR/usr/libexec -type f | grep -v "\.so" | xargs -n 1 strip --strip-all
if [ "$CONFIG_DEVIL_DOC_ISO" != "y" ]; then
rm -rf $ISODIR/cdtree/doc || exit 1
|