EbuildMerge: add exit_hook to unlock build dir
authorZac Medico <zmedico@gentoo.org>
Fri, 10 Feb 2012 19:47:38 +0000 (11:47 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 10 Feb 2012 19:47:38 +0000 (11:47 -0800)
commit57a1219ba81b8f7d9c9beecf27ed500da6239b3a
treec2c9c07996755bd7dc217208d1c337844f2bdad2
parentc85b1d7149f09e64b5ed4f5e45742b6e5a9df38b
EbuildMerge: add exit_hook to unlock build dir

This is needed since commit 7a6c34cc6bd6eb20a97e05347f87a0157f4ae58a in
order to ensure that the build dir is unlocked before exit listeners
are called. It fixes failures in catalyst stage 1 builds where two
instances of the same package, built sequentially for separate roots,
interfere with eachother's build dir lock.
pym/_emerge/Binpkg.py
pym/_emerge/EbuildBuild.py
pym/_emerge/EbuildMerge.py