Bug 14667 - Document variable scope
Summary: Document variable scope
Status: RESOLVED FIXED
Alias: None
Product: BitBake User Manual
Classification: Documentation
Component: bitbake-manual (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.0 M4
Assignee: Simone Weiß
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-12-17 16:55 UTC by Quentin Schulz
Modified: 2024-05-26 10:51 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:)