summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-02-15 04:46:52 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-18 16:48:28 +0000
commit88e0b5d30cd8100f01f6ba06e9c2954c79116d2a (patch)
treeec6bfa54e364ebc7121cd1f934206e0078f36457 /bitbake
parent2e7fa80bf9a555649edf7509b9b626a768761e88 (diff)
downloadpoky-88e0b5d30cd8100f01f6ba06e9c2954c79116d2a.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: fa94374baea75a94e3a488126ca7d8e241a77acd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 47b64cfacd7c498ef9ed5486d117f2d69a39f225) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index eb112f069d..dc99914cd9 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