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

Issue 1967002: Adjust image_to_live's devserver flags to work around lab network port restrictions. (Closed)

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

Description

Adjust image_to_live's devserver flags to work around lab network port restrictions.

Patch Set 1 #

Total comments: 6

Patch Set 2 : missed some stuff #

Total comments: 3

Patch Set 3 : fix killall_devserver #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M src/platform/dev/devserver.py View 1 chunk +0 lines, -1 line 0 comments Download
M src/scripts/image_to_live.sh View 1 2 3 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
seano
10 years, 7 months ago (2010-05-04 21:34:18 UTC) #1
ericli
http://codereview.chromium.org/1967002/diff/1/2 File src/platform/dev/devserver.py (left): http://codereview.chromium.org/1967002/diff/1/2#oldcode9 src/platform/dev/devserver.py:9: import SimpleHTTPServer assume you fully tested this removal. http://codereview.chromium.org/1967002/diff/1/3 ...
10 years, 7 months ago (2010-05-04 21:39:13 UTC) #2
ericli
http://codereview.chromium.org/1967002/diff/1/3 File src/scripts/image_to_live.sh (right): http://codereview.chromium.org/1967002/diff/1/3#newcode29 src/scripts/image_to_live.sh:29: pkill -fx ".*devserver\.py" || true also I guess you ...
10 years, 7 months ago (2010-05-04 23:21:58 UTC) #3
seano
PTAL On 2010/05/04 23:21:58, ericli wrote: > http://codereview.chromium.org/1967002/diff/1/3 > File src/scripts/image_to_live.sh (right): > > http://codereview.chromium.org/1967002/diff/1/3#newcode29 ...
10 years, 7 months ago (2010-05-05 00:09:06 UTC) #4
ericli
LGTM with one nit. http://codereview.chromium.org/1967002/diff/6001/7002 File src/scripts/image_to_live.sh (right): http://codereview.chromium.org/1967002/diff/6001/7002#newcode29 src/scripts/image_to_live.sh:29: ./enter_chroot.sh "sudo pkill -fx '.*devserver\.py' ...
10 years, 7 months ago (2010-05-05 00:11:16 UTC) #5
seano
http://codereview.chromium.org/1967002/diff/1/2 File src/platform/dev/devserver.py (left): http://codereview.chromium.org/1967002/diff/1/2#oldcode9 src/platform/dev/devserver.py:9: import SimpleHTTPServer On 2010/05/04 21:39:13, ericli wrote: > assume ...
10 years, 7 months ago (2010-05-05 00:17:53 UTC) #6
seano
10 years, 7 months ago (2010-05-05 01:27:03 UTC) #7
Fixed pkill regex which was strangely never working to cleanup devserver.

http://codereview.chromium.org/1967002/diff/6001/7002
File src/scripts/image_to_live.sh (right):

http://codereview.chromium.org/1967002/diff/6001/7002#newcode29
src/scripts/image_to_live.sh:29: ./enter_chroot.sh "sudo pkill -fx
'.*devserver\.py' || true"
On 2010/05/05 00:17:53, seano wrote:
> On 2010/05/05 00:11:16, ericli wrote:
> > you dont need to enter_chroot to kill this.
> 
> The process belongs to root. I believe that this is necessary.

... though I'll take it out of the chroot :)

Powered by Google App Engine
This is Rietveld 408576698