diff options
author | Ulf Magnusson <Ulf.Magnusson@bmw.de> | 2018-11-29 14:21:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-06 10:24:58 +0000 |
commit | cddd27fb66bf82465cf8eb5012cb8e3c088625a5 (patch) | |
tree | ab4e9e1607990afb120a347f0a636cb0ee4f31c5 /doc | |
parent | 7e76237c930d354ee7eb37d247d71b4f4fbf7993 (diff) | |
download | bitbake-cddd27fb66bf82465cf8eb5012cb8e3c088625a5.tar.gz |
fetch2/svn: Fix SVN repository concurrent update race
The ${DL_DIR}/svn directory is used by BitBake to keep checked-out SVN
repositories from which tarballs are generated. These repositories were
protected from concurrent update with a lock on the tarballs. However,
the tarballs are specific to the SRCREV and module checked out (many
tarballs can come from the same repository), meaning a repository could
be modified concurrently if two recipes checked out two different
SRCREVs or modules from it in parallel. This caused errors like the
following:
ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy '/home/foo/downloads/svn/repo/trunk' locked.
svn: E155004: '/home/foo/downloads/svn/repo/trunk' is already locked.
Fix it by adding a per-repository lock that's independent of the module
and SRCREV.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@bmw.de>
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions