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

Side by Side Diff: build_image

Issue 3519003: crosutils: refine imaging output message (as instructions) (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: 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 | « no previous file | image_to_usb.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 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 build a bootable keyfob-based chromeos system image from within 7 # Script to build a bootable keyfob-based chromeos system image from within
8 # a chromiumos setup. This assumes that all needed packages have been built into 8 # a chromiumos setup. This assumes that all needed packages have been built into
9 # the given target's root with binary packages turned on. This script will 9 # the given target's root with binary packages turned on. This script will
10 # build the Chrome OS image using only pre-built binary packages. 10 # build the Chrome OS image using only pre-built binary packages.
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 ln -s $(basename ${OUTPUT_DIR}) ${FLAGS_output_root}/${FLAGS_board}/latest 744 ln -s $(basename ${OUTPUT_DIR}) ${FLAGS_output_root}/${FLAGS_board}/latest
745 745
746 echo "Done. Image created in ${OUTPUT_DIR}" 746 echo "Done. Image created in ${OUTPUT_DIR}"
747 echo "Chromium OS image created as ${PRISTINE_IMAGE_NAME}" 747 echo "Chromium OS image created as ${PRISTINE_IMAGE_NAME}"
748 if [ "${FLAGS_withdev}" -eq "${FLAGS_TRUE}" ]; then 748 if [ "${FLAGS_withdev}" -eq "${FLAGS_TRUE}" ]; then
749 echo "Developer image created as ${DEVELOPER_IMAGE_NAME}" 749 echo "Developer image created as ${DEVELOPER_IMAGE_NAME}"
750 fi 750 fi
751 751
752 print_time_elapsed 752 print_time_elapsed
753 753
754 echo "To copy to USB keyfob, OUTSIDE the chroot, do something like:" 754 echo "To copy to USB keyfob, do something like:"
755 echo " ./image_to_usb.sh --from=${OUTSIDE_OUTPUT_DIR} --to=/dev/sdX" 755 echo " ./image_to_usb.sh --from=${OUTSIDE_OUTPUT_DIR} --to=/dev/sdX"
756 echo "To convert to VMWare image, INSIDE the chroot, do something like:" 756 echo "To convert to VMWare image, INSIDE the chroot, do something like:"
757 echo " ./image_to_vm.sh --from=${OUTSIDE_OUTPUT_DIR} --board=${BOARD}" 757 echo " ./image_to_vm.sh --from=${OUTSIDE_OUTPUT_DIR} --board=${BOARD}"
758 echo "from the scripts directory where you entered the chroot." 758 echo "from the scripts directory where you entered the chroot."
OLDNEW
« no previous file with comments | « no previous file | image_to_usb.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698