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

Side by Side Diff: image_to_live.sh

Issue 3536018: Fixes for cbuild to work with ctest. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Fixes for petkov Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « bin/ctest.py ('k') | image_to_vm.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009-2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009-2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to update an image onto a live running ChromiumOS instance. 7 # Script to update an image onto a live running ChromiumOS instance.
8 8
9 # Load common constants. This should be the first executable line. 9 # Load common constants. This should be the first executable line.
10 # The path to common.sh should be relative to your script's location. 10 # The path to common.sh should be relative to your script's location.
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 fi 351 fi
352 352
353 remote_sh "grep ^CHROMEOS_RELEASE_DESCRIPTION= /etc/lsb-release" 353 remote_sh "grep ^CHROMEOS_RELEASE_DESCRIPTION= /etc/lsb-release"
354 if [ ${FLAGS_verify} -eq ${FLAGS_TRUE} ]; then 354 if [ ${FLAGS_verify} -eq ${FLAGS_TRUE} ]; then
355 verify_image 355 verify_image
356 else 356 else
357 local release_description=$(echo ${REMOTE_OUT} | cut -d '=' -f 2) 357 local release_description=$(echo ${REMOTE_OUT} | cut -d '=' -f 2)
358 info "Update was successful and rebooted to $release_description" 358 info "Update was successful and rebooted to $release_description"
359 fi 359 fi
360 360
361 print_time_elapsed
362
361 exit 0 363 exit 0
362 } 364 }
363 365
364 main $@ 366 main $@
OLDNEW
« no previous file with comments | « bin/ctest.py ('k') | image_to_vm.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698