diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-01-17 12:14:36 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:45:54 +0000 |
commit | e10a973cd9390eacb13bdb99693a0622bd3695f5 (patch) | |
tree | cb0dc7180ea89c50c56da0d51effe62d4f2ca3c1 /meta/classes/multilib_global.bbclass | |
parent | 6a46a974611c5262efefc21a11adb736c0fb206a (diff) | |
download | openembedded-core-e10a973cd9390eacb13bdb99693a0622bd3695f5.tar.gz openembedded-core-e10a973cd9390eacb13bdb99693a0622bd3695f5.tar.bz2 openembedded-core-e10a973cd9390eacb13bdb99693a0622bd3695f5.zip |
devtool: fix source extraction to work with recipe specific sysroots
When extracting source for a recipe within devtool (for extract, modify
or upgrade) We need to redirect WORKDIR, STAMPS_DIR etc. under a
temporary directory so that:
(a) we pick up all files that get unpacked to the WORKDIR, and
(b) we don't disturb the existing build
However, with recipe-specific sysroots the sysroots for the recipe will
be prepared under WORKDIR, and if we used the system temporary directory
i.e. usually /tmp) as used by mkdtemp by default, then our attempts to
hardlink files into the recipe-specific sysroots will fail on systems
where /tmp is a different filesystem, and we'd have to fall back to
copying the files which is a waste of time. Put the temp directory under
the WORKDIR to prevent that from being a problem.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
[RP: Add needed mkdirhier call]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib_global.bbclass')
0 files changed, 0 insertions, 0 deletions