diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 8fecc809d4..7f5d085088 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -856,6 +856,11 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None): | |||
856 | if val: | 856 | if val: |
857 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) | 857 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) |
858 | 858 | ||
859 | # Ensure that a _PYTHON_SYSCONFIGDATA_NAME value set by a recipe | ||
860 | # (for example via python3native.bbclass since warrior) is not set for | ||
861 | # host Python (otherwise tools like git-make-shallow will fail) | ||
862 | cmd = 'unset _PYTHON_SYSCONFIGDATA_NAME; ' + cmd | ||
863 | |||
859 | # Disable pseudo as it may affect ssh, potentially causing it to hang. | 864 | # Disable pseudo as it may affect ssh, potentially causing it to hang. |
860 | cmd = 'export PSEUDO_DISABLED=1; ' + cmd | 865 | cmd = 'export PSEUDO_DISABLED=1; ' + cmd |
861 | 866 | ||