bitbake: bitbake-worker: ensure BUILDNAME is available during execution
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 2 Sep 2013 17:26:28 +0000 (18:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Sep 2013 13:18:49 +0000 (14:18 +0100)
commit930815bff9c735b578ab88e8d0248b0c20e7b610
treee170275b74028c0356c6e0b12163dca7c4fa332a
parent8746988a2d405ecc2c9eb2e2786dac9e333451ca
bitbake: bitbake-worker: ensure BUILDNAME is available during execution

BUILDNAME is set from cooker by default, so since the worker split it
will not be set when executing functions. In OpenEmbedded this results
in /etc/version (which is populated from BUILDNAME) not having any
content. Pass this variable value through to the worker explicitly to
fix the issue.

Fixes [YOCTO #4818].

(Bitbake rev: 92940b0427d9b2b3f95e27c230ec1e36638a34bc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-worker
bitbake/lib/bb/runqueue.py