From fc9603d7d7042efe8941172091cca8578bdde15b Mon Sep 17 00:00:00 2001 From: Roy Li Date: Tue, 17 Jun 2014 14:00:27 +0800 Subject: Revert "populate_sdk: verify executable or dynamically linked library" It is introduced a bug, since The return of "file ld-linux-x86-64.so.*" does not include "dynamically linked" in redhat 5.9/6.0(32 bit), and lead to that ld-linux-x86-64.so.* is not in executable file list. Signed-off-by: Roy Li Signed-off-by: Richard Purdie --- meta/classes/populate_sdk_base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 10d04edc63..35d837d5df 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass @@ -254,7 +254,7 @@ if [ "$dl_path" = "" ] ; then echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!" exit 1 fi -executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111 -exec file '{}' \;| grep "\(executable\|dynamically linked\)" | cut -f 1 -d ':') +executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111) tdir=`mktemp -d` if [ x$tdir = x ] ; then -- cgit v1.2.3