# HG changeset patch # User Christophe Lincoln # Date 1241092735 -7200 # Node ID fdfadcb4b1d9bc74875ea3ecf3a31635e0354113 # Parent aaea09f5ebb3bbd98a718266513e8de07fd1b7da hal: Reduce size with strip -s on libs (-180k)! diff -r aaea09f5ebb3 -r fdfadcb4b1d9 hal/receipt --- a/hal/receipt Thu Apr 30 10:17:12 2009 +0000 +++ b/hal/receipt Thu Apr 30 13:58:55 2009 +0200 @@ -54,13 +54,12 @@ cp -a $_pkg/usr/lib/hal $fs/usr/lib cp -a $_pkg/usr/share/hal $fs/usr/share chmod -R +x $fs/usr/lib/hal/scripts/* - - # Remove a few run time lib. + # Remove a few run time lib and strip. for lib in $EXTRA do rm $fs/usr/lib/hal/$lib done - + strip -s $fs/usr/lib/hal/* 2>/dev/null # Init script cp -a stuff/etc $fs chown -R root.root $fs