wok-current rev 2832
hal: Reduce size with strip -s on libs (-180k)!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 30 13:58:55 2009 +0200 (2009-04-30) |
parents | aaea09f5ebb3 |
children | 022b3e6c17a1 |
files | hal/receipt |
line diff
1.1 --- a/hal/receipt Thu Apr 30 10:17:12 2009 +0000 1.2 +++ b/hal/receipt Thu Apr 30 13:58:55 2009 +0200 1.3 @@ -54,13 +54,12 @@ 1.4 cp -a $_pkg/usr/lib/hal $fs/usr/lib 1.5 cp -a $_pkg/usr/share/hal $fs/usr/share 1.6 chmod -R +x $fs/usr/lib/hal/scripts/* 1.7 - 1.8 - # Remove a few run time lib. 1.9 + # Remove a few run time lib and strip. 1.10 for lib in $EXTRA 1.11 do 1.12 rm $fs/usr/lib/hal/$lib 1.13 done 1.14 - 1.15 + strip -s $fs/usr/lib/hal/* 2>/dev/null 1.16 # Init script 1.17 cp -a stuff/etc $fs 1.18 chown -R root.root $fs