summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-23 09:07:42 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-23 09:07:42 +0000
commit77864bbb62d75ae9581c51761e6b7fe90790727b (patch)
treee35036ed7a94e200713e3e3cde9a156ef6f5709b /pym
parente4103dc3517b8cdb02d0e5b14c97f994fd363adc (diff)
downloadportage-77864bbb62d75ae9581c51761e6b7fe90790727b.tar.gz
portage-77864bbb62d75ae9581c51761e6b7fe90790727b.tar.bz2
portage-77864bbb62d75ae9581c51761e6b7fe90790727b.zip
Move PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ensure that emerge maintains it's lock through all phases.
svn path=/main/trunk/; revision=4512
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 9486d61c2..6024f699d 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2875,8 +2875,8 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
if mydo not in ["fetch","digest","manifest"]:
portage_util.ensure_dirs(mysettings["PORTAGE_BUILDDIR"],
gid=portage_gid, mode=070, mask=02)
- builddir_lock = portage_locks.lockdir(
- mysettings["PORTAGE_BUILDDIR"])
+ #builddir_lock = portage_locks.lockdir(
+ # mysettings["PORTAGE_BUILDDIR"])
mystatus = prepare_build_dirs(myroot, mysettings, cleanup)
if mystatus:
return mystatus