Bug 14667

Summary: Document variable scope
Product: [Documentation] BitBake User Manual Reporter: Quentin Schulz <foss+yocto>
Component: bitbake-manualAssignee: Simone Weiß <simone.p.weiss>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: michael.opdenacker, randy.macleod, simone.p.weiss
Version: unspecified   
Target Milestone: 5.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Quentin Schulz 2021-12-17 16:55:48 UTC
A variable set (or modified) in a recipe, stays within the recipe. A variable set (or modified) in a task stays in the task, etc..
Comment 1 Simone Weiß 2024-03-18 20:59:24 UTC
I assigned this to me, as I work on this (motivated by a review of Quentin) by coincidence already. I hope thats fine
Comment 2 Michael Opdenacker 2024-03-19 08:48:29 UTC
Yes, your help with documentation is much appreciated.
Many thanks Simone!
Comment 3 Michael Opdenacker 2024-05-23 15:19:08 UTC
Hi Simone
I believe you closed this bug by contributing this section:
https://docs.yoctoproject.org/bitbake/2.8/bitbake-user-manual/bitbake-user-manual-ref-variables-context.html
Closing this bug.
Please reopen is you still want to add more content.
Thanks!
Michael.
Comment 4 Simone Weiß 2024-05-26 10:51:11 UTC
Hi Michael,

I was thinking of adding a diagram and some examples, but no need to do it in the scope of this issue:)