diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-18 13:54:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-24 11:52:27 +0100 |
commit | 2245a94bb87ec1e13c542f2074d4b9e531ffeaf1 (patch) | |
tree | 8485ba0b021aa380b21693a53340ff85b1e414f0 /meta/lib/oe/packagegroup.py | |
parent | 6d66b574090dbfa17f840e45c9920895c4e2784a (diff) | |
download | poky-2245a94bb87ec1e13c542f2074d4b9e531ffeaf1.tar.gz |
package: Rework PACKAGELOCK based upon sstate for do_packagedata
I think this lock dates from before we had sstate for do_packagedata.
Since WORKDIR is recipe specific and we write into WORKDIR, we no longer need
any write locks in the do_packagedata code itself, its handled by the sstate
task lock for the final copy in at the end. The final write lock can be simply
removed.
The only time we need read locking is when actually reading data from the
shared directory. We can therefore reduce the window the lock is held
significantly as well, hence improving the speed of packagedata tasks running
in parallel.
(From OE-Core rev: f7106cdf2190d9ec59132a1cb2bb431d653cd9c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/packagegroup.py')
0 files changed, 0 insertions, 0 deletions