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

Side by Side Diff: build_image

Issue 6901005: src/scripts: remove all references to verity_depth (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Add comments. Created 9 years, 7 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/cros_make_image_bootable ('k') | build_kernel_image.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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 --arch="${ARCH}" 389 --arch="${ARCH}"
390 --output_dir="${OUTPUT_DIR}" 390 --output_dir="${OUTPUT_DIR}"
391 --boot_args="${FLAGS_boot_args}" 391 --boot_args="${FLAGS_boot_args}"
392 --rootfs_size="${FLAGS_rootfs_size}" 392 --rootfs_size="${FLAGS_rootfs_size}"
393 --rootfs_hash_pad="${FLAGS_rootfs_hash_pad}" 393 --rootfs_hash_pad="${FLAGS_rootfs_hash_pad}"
394 --rootfs_hash="${ROOT_FS_HASH}" 394 --rootfs_hash="${ROOT_FS_HASH}"
395 --rootfs_mountpoint="${ROOT_FS_DIR}" 395 --rootfs_mountpoint="${ROOT_FS_DIR}"
396 --statefulfs_mountpoint="${STATEFUL_FS_DIR}" 396 --statefulfs_mountpoint="${STATEFUL_FS_DIR}"
397 --espfs_mountpoint="${ESP_FS_DIR}" 397 --espfs_mountpoint="${ESP_FS_DIR}"
398 --verity_error_behavior="${FLAGS_verity_error_behavior}" 398 --verity_error_behavior="${FLAGS_verity_error_behavior}"
399 --verity_depth="0"
400 --verity_max_ios="${FLAGS_verity_max_ios}" 399 --verity_max_ios="${FLAGS_verity_max_ios}"
401 --verity_algorithm="${FLAGS_verity_algorithm}" 400 --verity_algorithm="${FLAGS_verity_algorithm}"
402 --keys_dir="${DEVKEYSDIR}" 401 --keys_dir="${DEVKEYSDIR}"
403 --usb_disk="${FLAGS_usb_disk}" 402 --usb_disk="${FLAGS_usb_disk}"
404 --nocleanup_dirs 403 --nocleanup_dirs
405 ${crosbug12352_flag} 404 ${crosbug12352_flag}
406 ${enable_rootfs_verification_flag} 405 ${enable_rootfs_verification_flag}
407 EOF 406 EOF
408 } 407 }
409 408
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 echo "Developer image created as ${DEVELOPER_IMAGE_NAME}" 807 echo "Developer image created as ${DEVELOPER_IMAGE_NAME}"
809 fi 808 fi
810 809
811 print_time_elapsed 810 print_time_elapsed
812 811
813 echo "To copy to USB keyfob, do something like:" 812 echo "To copy to USB keyfob, do something like:"
814 echo " ./image_to_usb.sh --from=${OUTSIDE_OUTPUT_DIR} --to=/dev/sdX" 813 echo " ./image_to_usb.sh --from=${OUTSIDE_OUTPUT_DIR} --to=/dev/sdX"
815 echo "To convert to VMWare image, INSIDE the chroot, do something like:" 814 echo "To convert to VMWare image, INSIDE the chroot, do something like:"
816 echo " ./image_to_vm.sh --from=${OUTSIDE_OUTPUT_DIR} --board=${BOARD}" 815 echo " ./image_to_vm.sh --from=${OUTSIDE_OUTPUT_DIR} --board=${BOARD}"
817 echo "from the scripts directory where you entered the chroot." 816 echo "from the scripts directory where you entered the chroot."
OLDNEW
« no previous file with comments | « bin/cros_make_image_bootable ('k') | build_kernel_image.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698