From: Dan McGregor <[email protected]>

From: Daniel McGregor <[email protected]>

This varialbe is set to help python3 running inside the build
environment. Unset it so that devtool can fetch recipes that inherit
python3native.

Signed-off-by: Daniel McGregor <[email protected]>
---
 meta/classes/devtool-source.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/devtool-source.bbclass 
b/meta/classes/devtool-source.bbclass
index 280d6009f3..4032e59b0c 100644
--- a/meta/classes/devtool-source.bbclass
+++ b/meta/classes/devtool-source.bbclass
@@ -46,6 +46,9 @@ python() {
     d.setVar('STAMPS_DIR', os.path.join(tempdir, 'stamps'))
     d.setVar('T', os.path.join(tempdir, 'temp'))
 
+    if bb.data.inherits_class('python3native', d):
+        d.setVarFlag('_PYTHON_SYSCONFIGDATA_NAME', 'export', 0)
+
     # Hook in pre/postfuncs
     is_kernel_yocto = bb.data.inherits_class('kernel-yocto', d)
     if is_kernel_yocto:
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139539): 
https://lists.openembedded.org/g/openembedded-core/message/139539
Mute This Topic: https://lists.openembedded.org/mt/74905207/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to