Cleanup preserved lib locking in portage.
authorDavid James <davidjames@chromium.org>
Thu, 5 May 2011 21:08:27 +0000 (14:08 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 8 May 2011 18:41:52 +0000 (11:41 -0700)
commit24394b8b57b675d470ac8c2435b88bb827bf3c24
treee6255f7c627b6c32bc6f2b27784343a558a7b591
parentc603773283a5288c702a742a0eb2b10f49915809
Cleanup preserved lib locking in portage.

This change makes preserved lib modification atomic, and
prepares us for narrowing the scope of the merge lock.

BUG=chromium-os:14983
TEST=Ran test suite and some example emerges.

Change-Id: I39abb6a5ec72be3274e508ef807ac1d9e69db1a8

Review URL: http://gerrit.chromium.org/gerrit/417
pym/_emerge/actions.py
pym/portage/dbapi/vartree.py
pym/portage/util/_dyn_libs/PreservedLibsRegistry.py