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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 --arch="${ARCH}" | 383 --arch="${ARCH}" |
384 --output_dir="${OUTPUT_DIR}" | 384 --output_dir="${OUTPUT_DIR}" |
385 --boot_args="${FLAGS_boot_args}" | 385 --boot_args="${FLAGS_boot_args}" |
386 --rootfs_size="${FLAGS_rootfs_size}" | 386 --rootfs_size="${FLAGS_rootfs_size}" |
387 --rootfs_hash_pad="${FLAGS_rootfs_hash_pad}" | 387 --rootfs_hash_pad="${FLAGS_rootfs_hash_pad}" |
388 --rootfs_hash="${ROOT_FS_HASH}" | 388 --rootfs_hash="${ROOT_FS_HASH}" |
389 --rootfs_mountpoint="${ROOT_FS_DIR}" | 389 --rootfs_mountpoint="${ROOT_FS_DIR}" |
390 --statefulfs_mountpoint="${STATEFUL_FS_DIR}" | 390 --statefulfs_mountpoint="${STATEFUL_FS_DIR}" |
391 --espfs_mountpoint="${ESP_FS_DIR}" | 391 --espfs_mountpoint="${ESP_FS_DIR}" |
392 --verity_error_behavior="${FLAGS_verity_error_behavior}" | 392 --verity_error_behavior="${FLAGS_verity_error_behavior}" |
393 --verity_depth="0" | |
394 --verity_max_ios="${FLAGS_verity_max_ios}" | 393 --verity_max_ios="${FLAGS_verity_max_ios}" |
395 --verity_algorithm="${FLAGS_verity_algorithm}" | 394 --verity_algorithm="${FLAGS_verity_algorithm}" |
396 --keys_dir="${DEVKEYSDIR}" | 395 --keys_dir="${DEVKEYSDIR}" |
397 --usb_disk="${FLAGS_usb_disk}" | 396 --usb_disk="${FLAGS_usb_disk}" |
398 --nocleanup_dirs | 397 --nocleanup_dirs |
399 ${crosbug12352_flag} | 398 ${crosbug12352_flag} |
400 ${enable_rootfs_verification_flag} | 399 ${enable_rootfs_verification_flag} |
401 EOF | 400 EOF |
402 } | 401 } |
403 | 402 |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 echo "Developer image created as ${DEVELOPER_IMAGE_NAME}" | 801 echo "Developer image created as ${DEVELOPER_IMAGE_NAME}" |
803 fi | 802 fi |
804 | 803 |
805 print_time_elapsed | 804 print_time_elapsed |
806 | 805 |
807 echo "To copy to USB keyfob, do something like:" | 806 echo "To copy to USB keyfob, do something like:" |
808 echo " ./image_to_usb.sh --from=${OUTSIDE_OUTPUT_DIR} --to=/dev/sdX" | 807 echo " ./image_to_usb.sh --from=${OUTSIDE_OUTPUT_DIR} --to=/dev/sdX" |
809 echo "To convert to VMWare image, INSIDE the chroot, do something like:" | 808 echo "To convert to VMWare image, INSIDE the chroot, do something like:" |
810 echo " ./image_to_vm.sh --from=${OUTSIDE_OUTPUT_DIR} --board=${BOARD}" | 809 echo " ./image_to_vm.sh --from=${OUTSIDE_OUTPUT_DIR} --board=${BOARD}" |
811 echo "from the scripts directory where you entered the chroot." | 810 echo "from the scripts directory where you entered the chroot." |
OLD | NEW |