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:07 +0100 |
commit | f7106cdf2190d9ec59132a1cb2bb431d653cd9c5 (patch) | |
tree | e216c20835591175eb6aef1c7d4e50e04ca3662a /scripts/lib/devtool/build.py | |
parent | 88f0c214e593a45566df5131bda4c946f5ccc8c2 (diff) | |
download | openembedded-core-f7106cdf2190d9ec59132a1cb2bb431d653cd9c5.tar.gz openembedded-core-f7106cdf2190d9ec59132a1cb2bb431d653cd9c5.tar.bz2 openembedded-core-f7106cdf2190d9ec59132a1cb2bb431d653cd9c5.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build.py')
0 files changed, 0 insertions, 0 deletions