Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/base/kspost.50.stripdebug.nochroot.inc
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