[bitbake-devel] Conditional assignment broken

Richard Purdie richard.purdie at linuxfoundation.org
Mon Aug 15 08:43:16 UTC 2011


Hi James,

On Sat, 2011-08-13 at 06:50 +0800, James Limbouris wrote:
>  Commit 21c21fcc5871e81d8d497b6baed605cdd74c4571 breaks conditional assignment
>  in all conf files. Previously, the environment was copied from a
> cleaned up os environment.
>  After the commit, a pristine environment is available in
> data['_data'], and will be copied to
>  data[] on conditional assignment, defying BB_ENV_EXTRAWHITE.
> Variables not conditionally
>  assigned will still be available from data['_data'], also in defiance
> of BB_ENV_EXTRAWHITE.
> 
>  To verify, simply:
> 
>  export RANDOMENV=42
>  bitbake -e | grep RANDOMENV

Thanks for finding this. Is this related to the pseudo issue you
mentioned on the OE-Core list? I'm guessing this would explain that.

I've merged Joshua's fix into master so hopefully we've got the
environment issues fixed at least.

Cheers,

Richard





More information about the bitbake-devel mailing list