summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pseudo
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-20 08:25:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-23 17:26:04 +0100
commita67ad9544af1c0d561ae1d5c95abe5147ac7bc17 (patch)
treec65a33f43e960821ffbcbc4e09531a0d0bd359d2 /meta/recipes-devtools/pseudo
parent9da1b6e59a4d4234a276bb2ffd37fdb7d9b3183c (diff)
downloadopenembedded-core-contrib-a67ad9544af1c0d561ae1d5c95abe5147ac7bc17.tar.gz
package: Fix PACKAGELOCK handling
PACKAGELOCK is there to protect readers of PKGDATA_DIR from writes and files changing whilst they're being read. With various changes to the codebase, the lock code has become confused as the files are now written by the sstate code in do_packagedata, not in do_package directly any longer. This change cleans up the code so read sites take the shared lock (anything in do_package), write sites take the full lock (do_packagedata sstate). The lock from do_package sstate is no longer needed since it doesn't write outside WORKDIR. (From OE-Core rev: d46cadbbb42aa71f9436d640891d6ccc8f8e3618) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo')
0 files changed, 0 insertions, 0 deletions