PackageUninstall: make async with MergeProcess
authorZac Medico <zmedico@gentoo.org>
Tue, 24 May 2011 05:31:20 +0000 (22:31 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 24 May 2011 05:31:20 +0000 (22:31 -0700)
commitf0f1bbe8fa9d3f698cbe529d2a11eec1ce437119
tree0a8298a7bc680c26557fb64a92564a3fc40d992f
parent2610641d07aa6af21c132d438995838c516a67f2
PackageUninstall: make async with MergeProcess

This fixes another ebuild-locks issue like the one fixed in commit
a81460175a441897282b0540cefff8060f2b92dc, but this time we use a
subprocess to ensure that the ebuild-locks for pkg_prerm and
pkg_postrm do not interfere with pkg_setup ebuild-locks held by
the main process.
pym/_emerge/PackageUninstall.py
pym/portage/dbapi/_MergeProcess.py
pym/portage/dbapi/vartree.py