summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3ebe81b77..f5d4cf1e7 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6337,7 +6337,8 @@ class dblink:
os.chown(my_private_path, os.getuid(), portage_gid)
os.chmod(my_private_path, 02770)
- mylock = portage_locks.lockfile(os.path.join(destroot, CONFIG_MEMORY_FILE))
+ mylock = portage_locks.lockfile(
+ os.path.join(destroot, CONFIG_MEMORY_FILE), wantnewlockfile=1)
writedict(cfgfiledict, os.path.join(destroot, CONFIG_MEMORY_FILE))
portage_locks.unlockfile(mylock)