]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "populate_sdk: verify executable or dynamically linked library"
authorRoy Li <rongqing.li@windriver.com>
Tue, 17 Jun 2014 06:00:27 +0000 (14:00 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jun 2014 07:56:37 +0000 (08:56 +0100)
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 <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass

index 10d04edc63b02668b1ee2aa3da16bed5de2bb04e..35d837d5dfd96dab6029e0d0c47e1415938005ca 100644 (file)
@@ -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