OLD | NEW |
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 Loading... |
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 Loading... |
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." |
OLD | NEW |