diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-02-22 09:21:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-23 22:35:01 +0000 |
commit | 05fd93ca14436c70253d9c0195deb4be843cbf2b (patch) | |
tree | 65d0b74fffea2e16ffa1d0a87ab04fe6429ba778 /meta/recipes-bsp | |
parent | 2c6604b9a114ee5b38d686ed5921215c934d5fe0 (diff) | |
download | poky-05fd93ca14436c70253d9c0195deb4be843cbf2b.tar.gz |
python3: Fix python interpreter line length for nativesdk
Make sure the python interpreter is "#!/usr/bin/env python3" for
nativesdk to avoid the shebang path exceeding the limit when install
the sdk under the directory with long path.
Before:
$ cd ${target_sdk_dir}
$ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
#!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9
[snip]
After:
$ cd ${target_sdk_dir}
$ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
#!/usr/bin/env python3
[snip]
(From OE-Core rev: a748e6098fa7d2ff594319937c7e0cf97700e83a)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
0 files changed, 0 insertions, 0 deletions