blob: 11b6b3a742cca33b9d2a058cbd9bf1c542cfb7d2 (
plain)
1
2
3
4
5
|
find $INSTALL_ROOT/usr/{sbin,bin,lib,libexec} -xdev -type f | while read file; do
ftype=$(file -b "$file")
[ "${ftype:0:4}" = "ELF " ] && strip -R .gnu_debugdata "$file" || :
done
exit 0
|