diff options
author | Serhii Popovych <spopovyc@cisco.com> | 2017-03-28 19:31:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-31 10:09:58 +0100 |
commit | 2a83c22a510e10b169015ce936eb51a6fc959ec1 (patch) | |
tree | 251bb16de3234668e727cdb7a3d2fd78e254b589 /meta-selftest/conf | |
parent | 65cfb24033278fd4fb27013d3272394197649ca2 (diff) | |
download | openembedded-core-2a83c22a510e10b169015ce936eb51a6fc959ec1.tar.gz openembedded-core-2a83c22a510e10b169015ce936eb51a6fc959ec1.tar.bz2 openembedded-core-2a83c22a510e10b169015ce936eb51a6fc959ec1.zip |
distutils.bbclass: Fix path to python for scripts
Commit 11229de (distutils: Replacing path to native python by path
to python in the image to support python packages with
console-script setup) replaces path to python-native with path
to the python interpreter in the target image.
However on nativesdk builds ${bindir} expanded to the
${SDKPATHNATIVE}${prefix_nativesdk} making shebang line
pointing to the absolute path to env(1) in SDKPATHNATIVE
which may not be present if coreutils isn't part of nativesdk.
On the other hand commit cf63d90 (bitbake.conf: Define USRBINPATH
globally instead of individually) introduces USRBINPATH variable
which has correct value regarding build class and intended for
this use case.
v2: Rebased on top of new head.
Cc: XE-Linux <xe-linux-external@cisco.com>
Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/conf')
0 files changed, 0 insertions, 0 deletions