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

Unified Diff: build_kernel_image.sh

Issue 6901005: src/scripts: remove all references to verity_depth (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: build_kernel_image.sh
diff --git a/build_kernel_image.sh b/build_kernel_image.sh
index 59e37b48b3e9d8c988f0b605e2cbb734e0577ed7..7acc57b9cb46275c9d29f5819c9fa4e3732800d0 100755
--- a/build_kernel_image.sh
+++ b/build_kernel_image.sh
@@ -64,8 +64,6 @@ DEFINE_string rootfs_hash "" \
DEFINE_integer verity_error_behavior 2 \
"Verified boot error behavior [0: I/O errors, 1: reboot, 2: nothing] \
(Default: 2)"
-DEFINE_integer verity_tree_depth 1 \
- "Optional Verified boot hash tree depth. (Default: 1)"
DEFINE_integer verity_max_ios -1 \
"Optional number of outstanding I/O operations. (Default: -1)"
DEFINE_string verity_hash_alg "sha1" \
@@ -101,7 +99,7 @@ if [[ -n "${FLAGS_rootfs_image}" && -n "${FLAGS_rootfs_hash}" ]]; then
info "Generating root fs hash tree."
# Runs as sudo in case the image is a block device.
- table=$(sudo verity create ${FLAGS_verity_tree_depth} \
+ table=$(sudo verity create 0 \
gauravsh 2011/04/25 21:36:38 add a comment here explaining what the 0 is for.
${FLAGS_verity_hash_alg} \
${FLAGS_rootfs_image} \
${root_fs_blocks} \
« no previous file with comments | « build_image ('k') | mod_image_for_recovery.sh » ('j') | verify_rootfs_chksum.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698