From eb589df8b40a662557d002e61684c2d76dda750f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 22 May 2018 14:41:17 +0200 Subject: Do not strip binaries in /opt/openslx/s?bin --- core/bin/setup_target | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/bin') diff --git a/core/bin/setup_target b/core/bin/setup_target index fbe04f92..365f24db 100755 --- a/core/bin/setup_target +++ b/core/bin/setup_target @@ -592,7 +592,8 @@ strip_recursive() { local DIR="$1" [ -n "$DIR" -a -d "$DIR" ] || perror "strip_recursive(): No such directory: '$DIR'" # Will try to strip shell scripts too but shouldn't do any harm - find "$DIR" -type f -a \( -executable -o -name "*.so*" \) -exec strip {} \; 2> /dev/null + # Ignore anything we compile ourselves so we have usable core dumps + find "$DIR" -type f \! -path "*openslx*bin*" -a \( -executable -o -name "*.so*" \) -exec strip {} \; 2> /dev/null } # copies static data files from /data/ to -- cgit v1.2.3-55-g7522