Skip to content
Commit baec04b9 authored by Christian Eggers's avatar Christian Eggers Committed by Richard Purdie
Browse files

sdk: fix search for dynamic loader



if the package "nativesdk-glibc-dbg" is installed as part of the SDK,
the existing search expression finds two files:

$OECORE_NATIVE_SYSROOT/lib/.debug/ld-linux-x86-64.so.2
$OECORE_NATIVE_SYSROOT/lib/ld-linux-x86-64.so.2

The generated relocate_sdk.sh shell script contains then an extra
newline and segfaults during SDK relocation.

Limit the search depth to 1, to avoid finding the file in the .debug
directory.

Signed-off-by: default avatarChristian Eggers <ceggers@arri.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 138df194
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment