diff options
author | Clemens Lang <clemens.lang@bmw-carit.de> | 2015-08-17 10:37:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 17:57:51 +0100 |
commit | e22685ff11af6d54c939aa8f327a0aaa1557fbbc (patch) | |
tree | c5b886cc4f63574e2f06370ff5acdd0faaa001c3 /meta/recipes-support | |
parent | 1c28f9300f133dc49755b34e4861ab5509609da4 (diff) | |
download | openembedded-core-e22685ff11af6d54c939aa8f327a0aaa1557fbbc.tar.gz openembedded-core-e22685ff11af6d54c939aa8f327a0aaa1557fbbc.tar.bz2 openembedded-core-e22685ff11af6d54c939aa8f327a0aaa1557fbbc.zip |
archiver.bbclass: Run deploy_archives in $WORKDIR
In recipes that are exempt from source code archiving due to
COPYLEFT_LICENSE_EXCLUDE, do_deploy_archives does not have a transitive
dependency on do_unpack. Given enough parallelism, this means
do_deploy_archives can run at the same time or before do_unpack.
Because do_deploy_archives did not specify a working directory, its
working directory was ${B}, which defaults to ${S}, which may be set by
a recipe to a directory that is created by do_unpack.
In this case, do_deploy_archives can fail because do_unpack deletes and
re-creates the directory and do_deploy_archives cannot change into the
non-existent directory. Avoid this problem by explicitly specifying
a working directory for do_deploy_archives (and for
do_deploy_all_archives as well for good measure).
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions