Index: scripts/image_signing/sign_official_build.sh |
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh |
index dd6d6bf1a7838214b078a8127faa50ef60d76638..e936f7ba9d8027766f25d1511d1dc8f4965e15c1 100755 |
--- a/scripts/image_signing/sign_official_build.sh |
+++ b/scripts/image_signing/sign_official_build.sh |
@@ -138,6 +138,9 @@ update_rootfs_hash() { |
local kernel_config=$(grab_kernel_config "${image}") |
local hash_image=$(make_temp_file) |
+ # Disable rw mount support prior to hashing. |
+ disable_rw_mount "${rootfs_image}" |
+ |
local new_kernel_config=$(calculate_rootfs_hash "${rootfs_image}" \ |
"${kernel_config}" "${hash_image}") |