Skip to contentSkip to conversation

lib/bb/fetch2/__init__.py: drop _PYTHON_SYSCONFIGDATA_NAME unsetting

PATCH New Alexander Kanavin 1 participant 1 message Nov 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/bb/fetch2/__init__.py: drop _PYTHON_SYSCONFIGDATA_NAME unsetting

With introduction of python3targetconfig class in core this is no longer needed.

---
 bitbake/lib/bb/fetch2/__init__.py | 5 -----
 1 file changed, 5 deletions(-)
bitbake/lib/bb/fetch2/__init__.py +0 -5
index ca81bd5225..07b7ae41b4 100644
@@ -853,11 +853,6 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
         if val:
             cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
 
-    # Ensure that a _PYTHON_SYSCONFIGDATA_NAME value set by a recipe
-    # (for example via python3native.bbclass since warrior) is not set for
-    # host Python (otherwise tools like git-make-shallow will fail)
-    cmd = 'unset _PYTHON_SYSCONFIGDATA_NAME; ' + cmd
-
     # Disable pseudo as it may affect ssh, potentially causing it to hang.
     cmd = 'export PSEUDO_DISABLED=1; ' + cmd
 
Signature · 1 line
2.29.2