| Summary: | modification to BB_BASEHASH_IGNORE_VARS from within recipe should trigger a warning | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Yann Dirson <ydirson> |
| Component: | bitbake | Assignee: | Unassigned <unassigned> |
| Status: | IN PROGRESS IMPLEMENTATION --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | michael.opdenacker, poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie, simone.p.weiss |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Yann Dirson
2020-10-01 06:58:47 UTC
The challenge here is consistency with other variables. If we do this for this variable we need to make this happen for every variable which can't be set in recipe context. I worry we need to try and be consistent. I do see the issue here with making it visible to the user why its not working though. Replaced BB_HASHBASE_WHITELIST by BB_BASEHASH_IGNORE_VARS in the title. The issue remains the same. As a first step, I plan to update the variable glossary at: https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-ref-variables.html. At some hint if variables are global or not. And check if changes are needed also here: https://docs.yoctoproject.org/ref-manual/varlocality.html The other potential idea I have is to somehow annotate the output of bitbake -e with this info. An error or warning I would not add (for now?), as this would likely cause many of them... |