]> code.ossystems Code Review - openembedded-core.git/commit
runqueue.py: set BB_TASKHASH approriately after moving to fork()
authorKevin Tian <kevin.tian@intel.com>
Tue, 21 Dec 2010 07:02:22 +0000 (15:02 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 21 Dec 2010 08:48:17 +0000 (08:48 +0000)
commit05963b0a1b1a685a3df3d39477312bb629579fb4
tree5571c920f382abbd3ae47e119e2e13adcf815316
parent67d6814b779a70234906e0aa58b819697a2629c5
runqueue.py: set BB_TASKHASH approriately after moving to fork()

In previous exec() model, cooker is re-initialized from scratch with environmental
variable exported accordingly. Now in fork() model, environmental variables are
not exported again, and thus original method to export BB_TASKHASH doesn't apply
now which breaks all sstate packages. Now we can set data variable directly instead.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
bitbake/lib/bb/runqueue.py