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>
Sat, 7 May 2011 01:52:39 +0000 (18:52 -0700)
commitf36b9fa38b5268c2a5579db62acec026625f84a9
tree43e355af3f6ef42efca4e139ea7265836412bb67
parent2fc0237f7ecda61abebd46bb7dc9f173bbed8868
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