poky/scripts/lib/wic
Maxim Uvarov 8290a50fe2 wic: fix images build in parallel
OE wic plugins create temporary file with the index of the line
tmp file name. This causes race in case several builds run in time.
If source_params['file'] is an absolute path, the cr_workdir prefix
is not applied by os.path.join(). So instead it writes to a ".1"
file next to the original image - this is outside the WORKDIR
and at risk of collision.

(From OE-Core rev: c68d8a37ba4348fe1c0e75c63b5668187d326ec2)

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Suggested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Suggested-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-19 13:24:39 +00:00
..
canned-wks qemuriscv: Generate a wic rootFS with a larger filesystem 2019-09-03 09:55:50 +01:00
plugins wic: fix images build in parallel 2020-01-19 13:24:39 +00:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: 'wic cp' to copy from image 2019-11-27 13:25:18 +00:00
filemap.py wic/filemap: If FIGETBSZ iotctl fail, failback to os.stat 2020-01-02 16:39:13 +00:00
help.py wic: Add --include-path argument 2020-01-10 21:18:22 +00:00
ksparser.py wic: Add --include-path argument 2020-01-10 21:18:22 +00:00
misc.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
partition.py wic: Add --include-path argument 2020-01-10 21:18:22 +00:00
pluginbase.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00