diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-11-13 20:49:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-20 10:50:18 +0000 |
commit | 0a2b76064c82470077d91e3e82178101327ed980 (patch) | |
tree | 8b9c4e67b58ccf394dc111e5e201e8906f20247a | |
parent | 3ea2ace6642849f2a756afc53d7e2471f7713b9d (diff) | |
download | poky-0a2b76064c82470077d91e3e82178101327ed980.tar.gz |
bitbake: lib/bb/fetch2/__init__.py: drop _PYTHON_SYSCONFIGDATA_NAME unsetting
With introduction of python3targetconfig class in core this is no longer
needed.
(Bitbake rev: 47b64cfacd7c498ef9ed5486d117f2d69a39f225)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index ca81bd5225..07b7ae41b4 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -853,11 +853,6 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None): | |||
853 | if val: | 853 | if val: |
854 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) | 854 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) |
855 | 855 | ||
856 | # Ensure that a _PYTHON_SYSCONFIGDATA_NAME value set by a recipe | ||
857 | # (for example via python3native.bbclass since warrior) is not set for | ||
858 | # host Python (otherwise tools like git-make-shallow will fail) | ||
859 | cmd = 'unset _PYTHON_SYSCONFIGDATA_NAME; ' + cmd | ||
860 | |||
861 | # Disable pseudo as it may affect ssh, potentially causing it to hang. | 856 | # Disable pseudo as it may affect ssh, potentially causing it to hang. |
862 | cmd = 'export PSEUDO_DISABLED=1; ' + cmd | 857 | cmd = 'export PSEUDO_DISABLED=1; ' + cmd |
863 | 858 | ||