summaryrefslogtreecommitdiffstats
path: root/scripts/rpm2cpio.sh
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-02-22 09:21:31 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-10 00:24:26 +0000
commite35f1eef03a1cdae15d2050a67de962a828a07cd (patch)
tree098abd5bd8a7ae89ed5127f6e0b8b8800393422b /scripts/rpm2cpio.sh
parent6bf6d80b1706baf8ae8e146be2d50bbcb047c974 (diff)
downloadpoky-e35f1eef03a1cdae15d2050a67de962a828a07cd.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: 57af8ed4d3f1645d9a648ae1e569c792d9bcb361) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a748e6098fa7d2ff594319937c7e0cf97700e83a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/rpm2cpio.sh')
0 files changed, 0 insertions, 0 deletions