mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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]. (From OE-Core rev: d1b3b384754089e62f6a4c7964690ae6c8d20a96) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
32ed5f5769
commit
0899d9af1d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user