diff options
author | Ming Liu <liu.ming50@gmail.com> | 2021-01-18 12:47:55 +0100 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2021-01-28 18:50:40 +0100 |
commit | d3a832f66e8802cb45536ff278d5c77f946d341d (patch) | |
tree | 6dd2af4a10014ace4db47b1515622960992f8454 /docs/modules/ROOT/pages/git@git.enea.com:linux | |
parent | 016854946467909fe97b7b6f29c7b749098af6ad (diff) | |
download | meta-updater-d3a832f66e8802cb45536ff278d5c77f946d341d.tar.gz |
image_types_ostree.bbclass: get lock before accessing OSTREE_REPO
In commit d13ec585ae677affd88b9d92c6ea135cc249b2fa:
[ image_types_ostree: use OSTree repo location for lockfiles ]
A lockfile ${OSTREE_REPO}/ostree.lock was added to prevent concurrent
access to the repository by multiple bitbake instances, but it should
not only apply to ostreecommit task, but ostreepush task also need it.
This fixes a following race condition error:
| | ERROR: Execution of '.../temp/run.do_image_ostreecommit.34262' failed with exit code 1:
| error: Writing content object: Creating temp file: No such file or directory
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'docs/modules/ROOT/pages/git@git.enea.com:linux')
0 files changed, 0 insertions, 0 deletions