diff options
Diffstat (limited to 'bitbake/lib')
| -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 0126e0d7c7..f6b5529bb8 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -843,6 +843,11 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None): | |||
| 843 | if val: | 843 | if val: |
| 844 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) | 844 | cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) |
| 845 | 845 | ||
| 846 | # Ensure that a _PYTHON_SYSCONFIGDATA_NAME value set by a recipe | ||
| 847 | # (for example via python3native.bbclass since warrior) is not set for | ||
| 848 | # host Python (otherwise tools like git-make-shallow will fail) | ||
| 849 | cmd = 'unset _PYTHON_SYSCONFIGDATA_NAME; ' + cmd | ||
| 850 | |||
| 846 | # Disable pseudo as it may affect ssh, potentially causing it to hang. | 851 | # Disable pseudo as it may affect ssh, potentially causing it to hang. |
| 847 | cmd = 'export PSEUDO_DISABLED=1; ' + cmd | 852 | cmd = 'export PSEUDO_DISABLED=1; ' + cmd |
| 848 | 853 | ||
