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

Side by Side Diff: mod_image_for_test.sh

Issue 3066037: build_image, mod_image_for_*: break out make_image_bootable (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: fix nits; move to boot.desc and bin/cros_ Created 10 years, 4 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
« no previous file with comments | « mod_image_for_recovery.sh ('k') | no next file » | 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 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 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 modify a keyfob-based chromeos system image for testability. 7 # Script to modify a keyfob-based chromeos system image for testability.
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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 # Let's have a look at the image just in case.. 222 # Let's have a look at the image just in case..
223 if [ "${VERIFY}" = "true" ]; then 223 if [ "${VERIFY}" = "true" ]; then
224 pushd "${ROOT_FS_DIR}" 224 pushd "${ROOT_FS_DIR}"
225 bash 225 bash
226 popd 226 popd
227 fi 227 fi
228 228
229 cleanup 229 cleanup
230 230
231 # Now make it bootable with the flags from build_image
232 ${SCRIPTS_DIR}/bin/cros_make_image_bootable $(dirname "${FLAGS_image}") \
233 $(basename "${FLAGS_image}")
234
231 print_time_elapsed 235 print_time_elapsed
232 236
233 trap - EXIT 237 trap - EXIT
234 238
OLDNEW
« no previous file with comments | « mod_image_for_recovery.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698