diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-06-16 14:49:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-18 09:12:01 +0100 |
commit | d1b3b384754089e62f6a4c7964690ae6c8d20a96 (patch) | |
tree | 11eeabd73654c5daf4dd7de75e42dffa9a3b3676 | |
parent | 7bf9dccef1aa626adc9c45addcd066fed69cace9 (diff) | |
download | openembedded-core-d1b3b384754089e62f6a4c7964690ae6c8d20a96.tar.gz openembedded-core-d1b3b384754089e62f6a4c7964690ae6c8d20a96.tar.bz2 openembedded-core-d1b3b384754089e62f6a4c7964690ae6c8d20a96.zip |
classes/externalsrc: handle tasks with existing lockfiles
We need to ensure we add a leading space to the value we are prepending
here in case lockfiles already has a value.
Fixes [YOCTO #7813].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r-- | meta/classes/externalsrc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 75bdb7a14d..8f7f479293 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass @@ -55,7 +55,7 @@ python () { bb.build.deltask(task, d) else: # Since configure will likely touch ${S}, ensure only we lock so one task has access at a time - d.appendVarFlag(task, "lockfiles", "${S}/singletask.lock") + d.appendVarFlag(task, "lockfiles", " ${S}/singletask.lock") # We do not want our source to be wiped out, ever (kernel.bbclass does this for do_clean) cleandirs = d.getVarFlag(task, 'cleandirs', False) |