summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-06-17 14:00:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-17 08:59:21 +0100
commit317224e0b267cc15a15003004e4855bf631c4224 (patch)
treeb702b759c6fc2b9096a2ee62cdf33f2a2bb5d0ee /meta
parentee0f647a2a38da6dae97770c6f36e6369637844b (diff)
downloadpoky-317224e0b267cc15a15003004e4855bf631c4224.tar.gz
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. (From OE-Core rev: fc9603d7d7042efe8941172091cca8578bdde15b) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
1 files changed, 1 insertions, 1 deletions
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
254 echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!" 254 echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!"
255 exit 1 255 exit 1
256fi 256fi
257executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111 -exec file '{}' \;| grep "\(executable\|dynamically linked\)" | cut -f 1 -d ':') 257executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111)
258 258
259tdir=`mktemp -d` 259tdir=`mktemp -d`
260if [ x$tdir = x ] ; then 260if [ x$tdir = x ] ; then