bitbake: bitbake/utils: Improve environment handling to allow UIs access to original...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 11:00:45 +0000 (11:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 11:11:26 +0000 (11:11 +0000)
commitb0e74c9360b9afcfb9cc39ee11dfff3ff4bf367c
treef35cb25a7e375db2bd5e3265e808bcb3f0041e50
parente277c8e8f3e99dbf0e5b800dbab5474e284bfc95
bitbake: bitbake/utils: Improve environment handling to allow UIs access to original environment

We need to empty out the environment whilst we build the cooker but
we need the environment for the UIs since hob uses DISPLAY and other
session variables.

This patch adapts the utils functions to return removed environment
components so we can reinject them for use by the UI, allowing hob
to work again.

(Bitbake rev: fc330d810099c57fefd4e706159a73ad8401d97c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake
bitbake/lib/bb/utils.py