diff options
author | Christian Eggers <ceggers@arri.de> | 2022-02-10 11:28:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-12 17:05:35 +0000 |
commit | e56ac9e2290d7640e72551c0445d0f37856b0776 (patch) | |
tree | cc204025349205b77e313a60e295f3fd62c7c472 /scripts/lib/scriptutils.py | |
parent | 23ac8859f4f336dead2264f320a382d696b48370 (diff) | |
download | poky-e56ac9e2290d7640e72551c0445d0f37856b0776.tar.gz |
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.
(From OE-Core rev: baec04b936ab6b3d2039978fd568c3824cd0a501)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions