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