On Mon, 2020-06-15 at 16:01 -0600, Dan McGregor wrote:
> 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:

No. We're seeing requests to add code like this all over the place in
the system and its not the right thing to do. We need to fix devtool so
that its setting PATH correctly when executing bitbake. This just works
around the problem.

Cheers,

Richard

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

View/Reply Online (#139558): 
https://lists.openembedded.org/g/openembedded-core/message/139558
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