]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Ensure we take the sstate shared lockfile in the place we write files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Mar 2011 10:58:01 +0000 (11:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Mar 2011 13:01:11 +0000 (14:01 +0100)
commit833a1e970f087dfcb32967cee3e24540f041cde0
tree95f52501b31ef9cd8823d3f863c005a11ba94ec5
parentc411a10e06f479ff364c07766f7c77907b7b4a16
package_rpm: Ensure we take the sstate shared lockfile in the place we write files

The point we need to take the lock is when the rpm files are written into the
deploy rpm directory. Since sstate makes the actual installation of the files,
that is the point we need to take the lock. This also stops the deploy/rpm
directory being accessed for a lock before it exists.

[YOCTO #797]
[YOCTO #925]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass