diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-20 08:25:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-23 11:12:03 +0100 |
commit | d46cadbbb42aa71f9436d640891d6ccc8f8e3618 (patch) | |
tree | 571fbb731c1b5095c24b3bc25ca519462e1416b6 /README.qemu | |
parent | 593ffffc3baf064b982891d61dacebd08aed3e96 (diff) | |
download | openembedded-core-d46cadbbb42aa71f9436d640891d6ccc8f8e3618.tar.gz openembedded-core-d46cadbbb42aa71f9436d640891d6ccc8f8e3618.tar.bz2 openembedded-core-d46cadbbb42aa71f9436d640891d6ccc8f8e3618.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'README.qemu')
0 files changed, 0 insertions, 0 deletions