Index: verify_rootfs_chksum.sh |
diff --git a/verify_rootfs_chksum.sh b/verify_rootfs_chksum.sh |
index 7ad196d897b688f0bb383f93c84122fa56cfeabe..bf877537ea3b62bf537b2a6cd792cc2e1e44f546 100755 |
--- a/verify_rootfs_chksum.sh |
+++ b/verify_rootfs_chksum.sh |
@@ -98,13 +98,11 @@ KERNEL_CONFIG=$(sudo "${DUMP_KERNEL_CONFIG}" "${KERNEL_IMG}") |
kernel_cfg="$(echo "${KERNEL_CONFIG}" | sed -e 's/.*dm="\([^"]*\)".*/\1/g' | |
cut -f2- -d,)" |
rootfs_sectors=$(echo ${kernel_cfg} | cut -f2 -d' ') |
-verity_depth=$(echo ${kernel_cfg} | cut -f7 -d' ') |
verity_algorithm=$(echo ${kernel_cfg} | cut -f8 -d' ') |
# Compute the rootfs hash tree |
VERITY=/bin/verity |
-table="vroot none ro,"$(sudo "${VERITY}" create \ |
- ${verity_depth} \ |
+table="vroot none ro,"$(sudo "${VERITY}" create 0 \ |
gauravsh
2011/04/25 21:36:38
Add a comment about 0.
|
"${verity_algorithm}" \ |
"${ROOTFS_IMG}" \ |
$((rootfs_sectors / 8)) \ |