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

Issue 5109004: Add --payload to devserver to allow the update payload to be specified by the devserver user. (Closed)

Created:
10 years, 1 month ago by dgarrett
Modified:
7 years, 6 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_chromium.org, Nick Sanders, ericli, DaleCurtis
Visibility:
Public.

Description

Add --payload to devserver to allow the update payload to be specified by the devserver user. Should have no effect if --payload is not specified, but should cause update.gz and stateful.tgz to be symlinked to the specified payload files if it is. Right now, it expects you to specify the file update.gz, and for stateful.tgz to be in the same directory. That could easily be changed to only specify the directory. BUG=chromium-os:8207 TEST=Ran by hand. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=0c880e2

Patch Set 1 #

Patch Set 2 : Copy payloads instead of symlink. Easier with chroot. #

Patch Set 3 : If the specified payload directory is static_image_dir, don't try to copy. #

Total comments: 4

Patch Set 4 : Fix nits from review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -13 lines) Patch
M autoupdate.py View 1 2 3 5 chunks +26 lines, -9 lines 0 comments Download
M devserver.py View 1 2 3 5 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dgarrett
10 years, 1 month ago (2010-11-17 21:35:57 UTC) #1
dgarrett
10 years, 1 month ago (2010-11-17 23:38:32 UTC) #2
sosa
Why that change from symlinks to copys? http://codereview.chromium.org/5109004/diff/8001/autoupdate.py File autoupdate.py (right): http://codereview.chromium.org/5109004/diff/8001/autoupdate.py#newcode523 autoupdate.py:523: if self.forced_payload: ...
10 years, 1 month ago (2010-11-18 01:47:43 UTC) #3
dgarrett
I started trying to manipulate these files from cros_au_test_harnes.py, and the symlinks would be broken ...
10 years, 1 month ago (2010-11-18 01:53:44 UTC) #4
sosa
LGTM then w/ those other nits On Wed, Nov 17, 2010 at 5:53 PM, Don ...
10 years, 1 month ago (2010-11-18 01:57:43 UTC) #5
dgarrett
7 years, 6 months ago (2013-05-30 21:02:28 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/5109004/diff/8001/autoupdate.py
File autoupdate.py (right):

https://codereview.chromium.org/5109004/diff/8001/autoupdate.py#newcode523
autoupdate.py:523: if self.forced_payload:
On 2010/11/18 01:47:43, sosa wrote:
> No indention for multiline comments

Done.

Powered by Google App Engine
This is Rietveld 408576698