yocto ref manual: confusion between BB_ENV_WHITELIST and BB_ENV_EXTRAWHITE
from section B.5 of yocto ref manual:
Tell BitBake to load what you want from the environment into the data store. You can do so through the BB_ENV_WHITELIST variable. For example, assume you want to prevent the build system from accessing your $HOME/.ccache directory. The following command tells BitBake to load CCACHE_DIR from the environment into the data store:
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE CCACHE_DIR"
i think you can see how that might confuse the reader.
rday
p.s. neither of those variables are listed in the variable glossary, either.
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 11 lines · On Saturday 10 March 2012 08:59:02 Robert P. J. Day wrote:
from section B.5 of yocto ref manual:
Tell BitBake to load what you want from the environment into the data store. You can do so through the
BB_ENV_WHITELISTvariable. For example, assume you want to prevent the build system from accessing your $HOME/.ccache directory. The following command tells BitBake to loadCCACHE_DIRfrom the environment into the data store:export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE
CCACHE_DIR"i think you can see how that might confuse the reader.
Looks like this still needs to be addressed. Scott, would you mind taking a look at this? Seems to me that BB_ENV_WHITELIST just ought to be changed to BB_ENV_EXTRAWHITE to make this make sense.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
I changed the variable from BB_ENV_WHITELIST in the description to BB_ENV_EXTRAWHITE to make sense with the given example. You can see the change at http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#ref-bitbake-runtask.
Scott
Quoted 19 lines · Paul Eggleton
Quoted 11 lines · On Saturday 10 March 2012 08:59:02 Robert P. J. Day wrote:
from section B.5 of yocto ref manual:
Tell BitBake to load what you want from the environment into the data store. You can do so through the
BB_ENV_WHITELISTvariable. For example, assume you want to prevent the build system from accessing your $HOME/.ccache directory. The following command tells BitBake to loadCCACHE_DIRfrom the environment into the data store:export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE
CCACHE_DIR"i think you can see how that might confuse the reader.
Looks like this still needs to be addressed. Scott, would you mind taking a look at this? Seems to me that
BB_ENV_WHITELISTjust ought to be changed toBB_ENV_EXTRAWHITEto make this make sense.Cheers,
Paul