From ec478262ac00ca5e025e043b32c7a3d393af565d Mon Sep 17 00:00:00 2001 From: Robert Kovacsics Date: Thu, 9 May 2024 14:28:17 +0100 Subject: sdk: Fix path length limit to match reserved size There were two different interpreter lengths in use, make them match. (From OE-Core rev: b175f9cdc3d87bef5c89cc337c2a7e2674732b29) Signed-off-by: Richard Purdie --- meta/recipes-core/meta/uninative-tarball.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index 7eebcaf11a..0fd01fdb64 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++ b/meta/recipes-core/meta/uninative-tarball.bb @@ -58,6 +58,8 @@ fakeroot archive_sdk() { DEST="./${SDK_ARCH}-${SDK_OS}" mv sysroots/${SDK_SYS} $DEST rm sysroots -rf + # There is a check in meta/files/toolchain-shar-extract.sh -- make sure to + # keep that check up to date if changing the `1024` patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative ${SDK_ARCHIVE_CMD} -- cgit v1.2.3-54-g00ecf