diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-02-09 23:56:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-11 17:49:22 +0000 |
commit | 41244407a0b7000b902c3c91810a8b27ea45b085 (patch) | |
tree | 9407cb23cafde84d1c09cb40164c708913d2f7ce /bitbake/lib | |
parent | f2139c483a0b6c0256956d92af477491fa885167 (diff) | |
download | poky-41244407a0b7000b902c3c91810a8b27ea45b085.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: 0a3bf681530bd63fc0036ca81ef868ab53fde56c)
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: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 551bfb70f2..524165bd5f 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 | ||