[oe] Creating a pristine environment?

Holger Freyther zecke at selfish.org
Tue May 13 08:43:50 UTC 2008


On Saturday 10 May 2008 14:28:39 Koen Kooi wrote:
> Holger Freyther wrote:
> > Okay. I added an option, I clean the environment after having parsed the
> > configuration. This means everything used from conf/local.conf (TOPDIR,
> > BBPATH, BBFILES, MACHINE...) will be inside the configuration data of
> > bitbake but not be exported.
>
> Implementation question: who will fix all the shell based functions in
> OE that rely on things like MACHINE being exported?

To my understanding there is nothing to fix. Bitbake will unexport the 
environment after having parsed the configuration. If you have export FOO 
inside a Bitbake file. data.py:emit_var will put an "export FOO=.." into the 
shell script.

comments.

	z.




More information about the Openembedded-devel mailing list