Skip to contentSkip to conversation

[1.46][PATCH 0/1] Patch review

bitbake Steve Sakoman 1 participant 2 messages Feb 15, 2021

lore
Share & tools
lore
#0 lore raw

This patch is associated with the python3targetconfig patches currently being reviewed for oe-core.

Passed a-full when tested with those patches on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1852

The following changes since commit 2351b496bb63b96920d4ae67bec816f00d510df2:

fetch/git: download LFS content too during do_fetch (2021-02-05 12:18:26 +0000)

are available in the Git repository at:

git://git.openembedded.org/bitbake-contrib stable/1.46-nut
http://cgit.openembedded.org/bitbake-contrib/log/?h=stable/1.46-nut

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.25.1
#1 lore raw

[bitbake][dunfell][1.46][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 eb112f06..dc99914c 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.25.1