diff options
| author | Robert Kovacsics <robert.kovacsics@carallon.com> | 2024-05-09 14:28:17 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-14 12:43:23 +0100 |
| commit | ec478262ac00ca5e025e043b32c7a3d393af565d (patch) | |
| tree | 617ed52c50389d29539346a1e191ba6f037ea5d5 /meta/recipes-core | |
| parent | 136f0ee780ef6c14950549cb8b8b44e5fe87ab23 (diff) | |
| download | poky-ec478262ac00ca5e025e043b32c7a3d393af565d.tar.gz | |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
| -rw-r--r-- | meta/recipes-core/meta/uninative-tarball.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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() { | |||
| 58 | DEST="./${SDK_ARCH}-${SDK_OS}" | 58 | DEST="./${SDK_ARCH}-${SDK_OS}" |
| 59 | mv sysroots/${SDK_SYS} $DEST | 59 | mv sysroots/${SDK_SYS} $DEST |
| 60 | rm sysroots -rf | 60 | rm sysroots -rf |
| 61 | # There is a check in meta/files/toolchain-shar-extract.sh -- make sure to | ||
| 62 | # keep that check up to date if changing the `1024` | ||
| 61 | patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf | 63 | patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf |
| 62 | mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative | 64 | mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative |
| 63 | ${SDK_ARCHIVE_CMD} | 65 | ${SDK_ARCHIVE_CMD} |
