Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: parallel_emerge

Issue 3294022: Allow parallel_emerge to be used when network is unavailable. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: parallel_emerge
diff --git a/parallel_emerge b/parallel_emerge
index da2d058660ce62b570dba9af1d87aaf4675f2077..2e8f95b1c8ee481c545de37af3aa8b0cdf6c9433 100755
--- a/parallel_emerge
+++ b/parallel_emerge
@@ -1123,7 +1123,9 @@ class DepGraphGenerator(object):
cycles = FindCycles()
if self.rebuild:
local_pkgs = LocalPackageDatabase()
- remote_pkgs = RemotePackageDatabase(emerge.settings["PORTAGE_BINHOST"])
+ remote_pkgs = {}
+ if "--getbinpkg" in emerge.opts:
+ remote_pkgs = RemotePackageDatabase(emerge.settings["PORTAGE_BINHOST"])
AutoRebuildDeps(local_pkgs, remote_pkgs, cycles)
# We need to remove installed packages so that we can use the dependency
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698