diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-06-17 14:00:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-17 08:59:21 +0100 |
commit | 317224e0b267cc15a15003004e4855bf631c4224 (patch) | |
tree | b702b759c6fc2b9096a2ee62cdf33f2a2bb5d0ee /meta/classes | |
parent | ee0f647a2a38da6dae97770c6f36e6369637844b (diff) | |
download | poky-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/classes')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
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 |
256 | fi | 256 | fi |
257 | executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111 -exec file '{}' \;| grep "\(executable\|dynamically linked\)" | cut -f 1 -d ':') | 257 | executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm /111) |
258 | 258 | ||
259 | tdir=`mktemp -d` | 259 | tdir=`mktemp -d` |
260 | if [ x$tdir = x ] ; then | 260 | if [ x$tdir = x ] ; then |