mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-16 08:01:59 +01:00
Disable collision-protect in parallel_emerge.
collision-protect doesn't make sense for parallel_emerge, because we don't lock around merges. Also, if merge fails part-way through, it's strange to fail just because some files are lying around. This fixes an issue with the buildbots. TEST=Checked that collision-protect feature gets deleted by this. BUG=none Review URL: http://codereview.chromium.org/3061029
This commit is contained in:
parent
0366864a98
commit
de456309c8
@ -356,6 +356,9 @@ class DepGraphGenerator(object):
|
|||||||
if (settings.get("PORTAGE_DEBUG", "") == "1" and
|
if (settings.get("PORTAGE_DEBUG", "") == "1" and
|
||||||
"python-trace" in settings.features):
|
"python-trace" in settings.features):
|
||||||
portage.debug.set_trace(True)
|
portage.debug.set_trace(True)
|
||||||
|
# Since we don't have locking around merges, the collision-protect
|
||||||
|
# feature doesn't make sense.
|
||||||
|
settings.features.discard("collision-protect")
|
||||||
|
|
||||||
# Complain about unsupported options
|
# Complain about unsupported options
|
||||||
for opt in ("--ask", "--ask-enter-invalid", "--complete-graph",
|
for opt in ("--ask", "--ask-enter-invalid", "--complete-graph",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user