aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorPiotr Tworek <tworaz@tworaz.net>2019-07-27 10:56:16 +0200
committerKhem Raj <raj.khem@gmail.com>2019-07-28 17:11:17 -0700
commite5ac325b7974a346b218d1f43b92d06f5b0dd078 (patch)
treeebb2cad8f429a9d0d652c1069375e2fc7221b2c4 /meta-networking
parent2bdd4a599558c93385642b17b27d5cce31911dd6 (diff)
downloadmeta-openembedded-contrib-e5ac325b7974a346b218d1f43b92d06f5b0dd078.tar.gz
itstool: Don't use hardcoded, absolute path to python3 binary.
Unfortunately itstoll build system produces script file which contains absolute path to python3 binary used during packaging. In case of OE this refers to recipe-sysroot-native directory. This obviously make the resulting script unusable for both target and native builds. This problem was patched in OE using sed after the script file was installed. The sed line replaced one absolute path with /usr/bin/python3. This seems to work fine for target builds but is still not good enough for native targets.s The main problem with native builds is we can't mix host and OE provided python3 when recipe using the tool inherits python3native bbclass. This bbclass exports _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" which is likely to break host python3. To make sure itstool is usable on both build host and target replace /usr/bin/python3 absolute path with /usr/bin/env python3. Signed-off-by: Piotr Tworek <tworaz@tworaz.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
0 files changed, 0 insertions, 0 deletions