1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

sdk: Fix path length limit to match reserved size

There were two different interpreter lengths in use, make them match.

(From OE-Core rev: 98119e3f452ebf6cb5f17049aef3a9a3ef7116c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b175f9cdc3d87bef5c89cc337c2a7e2674732b29)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Robert Kovacsics
2024-05-09 14:28:17 +01:00
committed by Steve Sakoman
parent 3775d83439
commit 8824da319b
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -164,7 +164,9 @@ else
fi
# limit the length for target_sdk_dir, ensure the relocation behaviour in relocate_sdk.py has right result.
if [ ${#target_sdk_dir} -gt 2048 ]; then
# This is due to ELF interpreter being set to 'a'*1024 in
# meta/recipes-core/meta/uninative-tarball.bb
if [ ${#target_sdk_dir} -gt 1024 ]; then
echo "Error: The target directory path is too long!!!"
exit 1
fi