package.bbclass: Update locking now that pstaging is always on.
authorTom Rini <tom_rini@mentor.com>
Fri, 25 Feb 2011 20:23:44 +0000 (13:23 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 25 Feb 2011 20:23:44 +0000 (13:23 -0700)
commitac9745f0fe92cae24c540c864f9a5c4bbff797f6
treeff5ce7e44271941f4d07062f2214b661aa4e4507
parentb5d9ac7e30e95ae4e29aad997707d500047325ab
package.bbclass: Update locking now that pstaging is always on.

In a few functions we checked if pstagingactive was set and if so, grabbed
the lock.  But really, we should always be locking here.  And inside of
package_do_shlibs we need to keep the lock a little longer than we had
been otherwise we can run into a race..

Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/package.bbclass