]> 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:59 +0000 (13:45 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Sep 2015 13:42:05 +0000 (14:42 +0100)
commitdc8546241a66c6eb076dc67fd165b5216b822ced
treee9456cf0db068b773a73706928560bb18d8f1b1a
parentd3af844b05e566c2188fc3145e66a9826fed0ec8
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