Skip to contentSkip to conversation

[1.48][PATCH 0/1] gatesgarth review request

DISCUSSION Anuj Mittal 1 participant 2 messages Feb 9, 2021

lore
Share & tools
lore
#0 lore raw

Please review these changes for 1.48/gatesgarth. This pull request has a single patch that should go together with the _PYTHON_SYSCONFIGDATA_NAME changes in oe-core gatesgarth.

Thanks,

Anuj

The following changes since commit c73f8f2f4a6491c6bea54839630af6994c27ad24:

fetch/git: download LFS content too during do_fetch (2021-02-02 15:51:38 +0000)

are available in the Git repository at:

git://push.openembedded.org/bitbake-contrib stable/1.48-next

Alexander Kanavin (1):
lib/bb/fetch2/__init__.py: drop _PYTHON_SYSCONFIGDATA_NAME unsetting

 lib/bb/fetch2/__init__.py | 5 -----
 1 file changed, 5 deletions(-)
Signature · 1 line
2.29.2
#1 lore raw

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

From: Alexander Kanavin <[email protected]>

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

(cherry picked from commit 47b64cfacd7c498ef9ed5486d117f2d69a39f225)
---
 lib/bb/fetch2/__init__.py | 5 -----
 1 file changed, 5 deletions(-)
lib/bb/fetch2/__init__.py +0 -5
index 551bfb70f..524165bd5 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