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

Issue 2990001: Teach parallel_emerge to uninstall packages. (Closed)

Created:
10 years, 5 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
Nick Sanders
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://git@chromiumos-git/crosutils.git
Visibility:
Public.

Description

Teach parallel_emerge to uninstall packages. Currently, parallel_emerge doesn't know how to handle uninstall actions, so it actually installs packages when it should be uninstalling them. This patch fixes that. TEST=sudo ./parallel_emerge -uDNv hard-host-depends, and make sure it uninstalls nih-dbus-tool, which is blocked by hard-host-depends BUG=none

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove unnecessary --oneshot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M parallel_emerge View 1 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
davidjames
10 years, 5 months ago (2010-07-13 07:26:14 UTC) #1
Nick Sanders
10 years, 5 months ago (2010-07-13 07:29:41 UTC) #2
lgtm w/ change

http://codereview.chromium.org/2990001/diff/1/2
File parallel_emerge (right):

http://codereview.chromium.org/2990001/diff/1/2#newcode598
parallel_emerge:598: cmdline = EmergeCommand() + " --nodeps --oneshot --unmerge
=" + target
no need for oneshot

Powered by Google App Engine
This is Rietveld 408576698