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

Issue 3393019: Add verify option to image_to_live. (Closed)

Created:
10 years, 3 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
kmixter1
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Add verify option to image_to_live. Change-Id: I63f7ce38179b713bb26bed70d6fd392425595a81 BUG= TEST=Ran with update vm script. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=3b65e8d

Patch Set 1 #

Patch Set 2 : ws #

Total comments: 7

Patch Set 3 : Fixes for kmixter #

Patch Set 4 : Last stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -10 lines) Patch
M bin/cros_run_vm_update View 1 chunk +1 line, -0 lines 0 comments Download
M image_to_live.sh View 1 2 7 chunks +54 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sosa
10 years, 3 months ago (2010-09-23 00:42:32 UTC) #1
kmixter1
If you don't make this the default, could you add this to sync_build_test around line ...
10 years, 3 months ago (2010-09-23 20:56:30 UTC) #2
sosa
Cleaned up. Also added a flag to skip stateful_update to make testing easier. Re-tested with ...
10 years, 2 months ago (2010-09-28 20:25:06 UTC) #3
sosa
Actually publish comments this time http://codereview.chromium.org/3393019/diff/2001/3002 File image_to_live.sh (right): http://codereview.chromium.org/3393019/diff/2001/3002#newcode284 image_to_live.sh:284: info "Image verified." On ...
10 years, 2 months ago (2010-09-28 20:26:21 UTC) #4
kmixter1
10 years, 2 months ago (2010-09-28 20:59:21 UTC) #5
LGTM

On Tue, Sep 28, 2010 at 1:26 PM, <sosa@chromium.org> wrote:

> Actually publish comments this time
>
>
>
> http://codereview.chromium.org/3393019/diff/2001/3002
> File image_to_live.sh (right):
>
> http://codereview.chromium.org/3393019/diff/2001/3002#newcode284
> image_to_live.sh:284: info "Image verified."
> On 2010/09/23 20:56:38, kmixter1 wrote:
>
>> How about Update was successful and image verified as ${lsb_release}?
>>
>
> Done.
>
>
> http://codereview.chromium.org/3393019/diff/2001/3002#newcode304
> image_to_live.sh:304: die "Verify is not compatible with setting an
> update url."
> Good call.  Changed to default.
>
>
> On 2010/09/23 20:56:38, kmixter1 wrote:
>
>> It really seems like you want the default behavior to be the best
>>
> check.  If you
>
>> want you could make it default on, then just issue a warning here and
>>
> set
>
>> FLAGS_verify=${FLAGS_FALSE} if it's not possible.
>>
>
> http://codereview.chromium.org/3393019/diff/2001/3002#newcode345
> image_to_live.sh:345: exit $?
> On 2010/09/23 20:56:38, kmixter1 wrote:
>
>> It's set -e, so you could just get rid of this exit, an even get rid
>>
> of the
>
>> other branch's exit and just return 0 like before.
>>
>
> Done.
>
>
> http://codereview.chromium.org/3393019/show
>

Powered by Google App Engine
This is Rietveld 408576698