]> code.ossystems Code Review - openembedded-core.git/commit
sstate: run recipe-provided hooks outside of ${B}
authorRoss Burton <ross.burton@intel.com>
Thu, 24 Sep 2015 08:54:33 +0000 (09:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Sep 2015 10:58:23 +0000 (11:58 +0100)
commita026dbfa0ce4ee769ae2c714f27f4c4eaa4a0c73
treece1a5798993cb4eb706d8bd0a823c94de0265ac9
parent0aa6af4aec6f9773ec2aea929deb3a1ed049cbb9
sstate: run recipe-provided hooks outside of ${B}

To avoid races between the sstate tasks/hooks using ${B} as the cwd, and other
tasks such as cmake_do_configure which deletes and re-creates ${B}, ensure that
all sstate hooks are run in the right directory, and run the prefunc/postfunc in WORKDIR.

(From OE-Core rev: 1d3bde02641f4b40030cf7e305ee3d7c2faabe29)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass