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

Issue 2037006: Fix modprobe prob in gmergefs and bring call script into scripts (Closed)

Created:
10 years, 7 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
Chris Masone
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git//chromeos
Visibility:
Public.

Description

Fix modprobe prob in gmergefs and bring call script into scripts TEST=Ran "gmergefs --remote my_device gmerge" resulted in having gmerge installed into my /usr/local dir on my device

Patch Set 1 #

Total comments: 3

Patch Set 2 : cmasone #

Patch Set 3 : Check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M src/platform/dev/gmergefs View 1 1 chunk +0 lines, -3 lines 0 comments Download
A src/scripts/gmergefs View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sosa
Gmergefs hangs if you type the wrong remote ip address or pass a debug flag. ...
10 years, 7 months ago (2010-05-11 05:20:55 UTC) #1
Chris Masone
http://codereview.chromium.org/2037006/diff/1/2 File src/platform/dev/gmergefs (right): http://codereview.chromium.org/2037006/diff/1/2#newcode18 src/platform/dev/gmergefs:18: restart_in_chroot_if_needed $* I don't understand why we're trying to ...
10 years, 7 months ago (2010-05-11 17:38:55 UTC) #2
sosa
Changed to asserts. I agree it might be a bad idea to do the restarts ...
10 years, 7 months ago (2010-05-11 22:29:43 UTC) #3
Chris Masone
10 years, 7 months ago (2010-05-12 15:17:14 UTC) #4
Yeah.  Well, this LGTM at least.

On 2010/05/11 22:29:43, sosa wrote:
> Changed to asserts. I agree it might be a bad idea to do the restarts rather
> than asserts, but it is nice to stay outside the chroot in bash if you don't
> need to be in the chroot.  I know the testing infrastructure script can all be
> run in and outside (but prob should just run inside).  We probably should make
a
> systematic decision ... and enforce it as a team
> 
> http://codereview.chromium.org/2037006/diff/1/2
> File src/platform/dev/gmergefs (right):
> 
> http://codereview.chromium.org/2037006/diff/1/2#newcode18
> src/platform/dev/gmergefs:18: restart_in_chroot_if_needed $*
> On 2010/05/11 17:38:55, cmasone wrote:
> > I don't understand why we're trying to support people doing things outside
the
> > chroot that make no sense.  Who's running emerge commands outside the chroot
> and
> > expecting them to work?
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698