]> code.ossystems Code Review - openembedded-core.git/commit
sstate: run recipe-provided hooks outside of ${B}
authorRoss Burton <ross.burton@intel.com>
Tue, 29 Sep 2015 11:45:36 +0000 (13:45 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Sep 2015 13:42:15 +0000 (14:42 +0100)
commit07a7e1a0bee5b8757951e67c9353c786a6ac8500
treeb756b0c3b3a53fa444d4c7a9310ea803a10e4e76
parent4c02a30f084408d0a6a5149937ef74520f8346dc
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.

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