summaryrefslogtreecommitdiff
path: root/scripts/image_signing/sign_official_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/image_signing/sign_official_build.sh')
-rwxr-xr-xscripts/image_signing/sign_official_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh
index 8db3ead7..726a5540 100755
--- a/scripts/image_signing/sign_official_build.sh
+++ b/scripts/image_signing/sign_official_build.sh
@@ -179,10 +179,10 @@ calculate_rootfs_hash() {
# Extract the key-value parameters from the kernel command line.
local rootfs_sectors=$(get_verity_arg "${vroot_dev}" hashstart)
- local verity_depth=0
local verity_algorithm=$(get_verity_arg "${vroot_dev}" alg)
local root_dev=$(get_verity_arg "${vroot_dev}" payload)
local hash_dev=$(get_verity_arg "${vroot_dev}" hashtree)
+ local salt=$(get_verity_arg "${vroot_dev}" salt)
local salt_arg
if [ -n "$salt" ]; then