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

Issue 6334039: chromite: Switch from execve to import. (Closed)

Created:
9 years, 10 months ago by Kenneth Waters
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

chromite: Switch from execve to import. BUG=None TEST=Entered shell from various places in the tree, and from inside the chroot. TEST='chromite workon x86-mario list --all' outside repo and chroot with CROS_WORKON_SRCROOT set TEST='chromite workon x86-mario list --all' inside repo and outside chroot with CROS_WORKON_SRCROOT set TEST='chromite workon x86-mario list --all' outside repo and chroot with CROS_WORKON_SRCROOT not set TEST='chromite workon x86-mario list --all' inside repo and outside chroot with CROS_WORKON_SRCROOT not set TEST='chromite workon x86-mario list --all' inside chroot Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=15175cf

Patch Set 1 #

Patch Set 2 : Merge jrbarnette's changes. #

Patch Set 3 : Remove try: tower. #

Total comments: 7

Patch Set 4 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -37 lines) Patch
M bin/chromite View 1 2 3 1 chunk +30 lines, -37 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jrbarnette
LGTM! I've downloaded the patch, and run the tests described here: http://codereview.chromium.org/6312068
9 years, 10 months ago (2011-02-02 01:02:42 UTC) #1
diandersAtChromium
Thanks for all of your work on this! ...please address comments and re-upload. At the ...
9 years, 10 months ago (2011-02-03 00:44:15 UTC) #2
diandersAtChromium
http://codereview.chromium.org/6334039/diff/1003/bin/chromite File bin/chromite (right): http://codereview.chromium.org/6334039/diff/1003/bin/chromite#newcode32 bin/chromite:32: Please make it so that if chromite is already ...
9 years, 10 months ago (2011-02-03 00:44:22 UTC) #3
Kenneth Waters
ptal. http://codereview.chromium.org/6334039/diff/1003/bin/chromite File bin/chromite (right): http://codereview.chromium.org/6334039/diff/1003/bin/chromite#newcode32 bin/chromite:32: jrbarnette wanted it this way. http://codereview.chromium.org/6334039/diff/1003/bin/chromite#newcode44 bin/chromite:44: sys.path.insert(0, ...
9 years, 10 months ago (2011-02-03 18:16:41 UTC) #4
diandersAtChromium
9 years, 10 months ago (2011-02-03 18:36:00 UTC) #5
LGTM.  Feel free to push and I will do a future (minor) patch for the chroot
case.

http://codereview.chromium.org/6334039/diff/1003/bin/chromite
File bin/chromite (right):

http://codereview.chromium.org/6334039/diff/1003/bin/chromite#newcode32
bin/chromite:32: 
Talked to jrbarnette.  You can push this CL as is.  

I will submit a future CL that will detect if we're in the chroot (via existence
of /etc/debian_chroot).  If we're in the chroot, we'll do the "yield []" as the
first thing.  Else we won't do the "yield []".

Powered by Google App Engine
This is Rietveld 408576698