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} \ |