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

Unified Diff: parallel_emerge

Issue 2927013: Fix parallel_emerge --unmerge to actually work. (Closed) Base URL: ssh://git@chromiumos-git/crosutils.git
Patch Set: Re-upload Created 10 years, 5 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 b2b61a1dbee53fc303f5ab909dbc29335d6a6271..37a1e845dcc03122b217333234c0a6462aabd7a1 100755
--- a/parallel_emerge
+++ b/parallel_emerge
@@ -604,9 +604,11 @@ class EmergeQueue(object):
cmdline = EmergeCommand() + " --nodeps --oneshot "
this_pkg = self._deps_map[target]
if this_pkg["workon"]:
- # --usepkg=n --getbinpkg=n: Build from source
+ # --usepkg=n --usepkgonly=n --getbinpkg=n
+ # --getbinpkgonly=n: Build from source
# --selective=n: Re-emerge even if package is already installed.
- cmdline += "--usepkg=n --getbinpkg=n --selective=n "
+ cmdline += ("--usepkg=n --usepkgonly=n --getbinpkg=n "
+ "--getbinpkgonly=n --selective=n ")
cmdline += "=" + target
deps_info = this_pkg["deps_info"]
if deps_info["uninstall"]:
@@ -753,7 +755,7 @@ OPTS, EMERGE_ACTION, EMERGE_OPTS, EMERGE_FILES = ParseArgs(sys.argv)
if EMERGE_ACTION is not None:
# Pass action arguments straight through to emerge
EMERGE_OPTS["--%s" % EMERGE_ACTION] = True
- sys.exit(os.system(EmergeCommand()))
+ sys.exit(os.system(EmergeCommand() + " " + " ".join(EMERGE_FILES)))
elif not EMERGE_FILES:
Usage()
sys.exit(1)
« 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