Index: scripts/image_signing/make_dev_ssd.sh |
diff --git a/scripts/image_signing/make_dev_ssd.sh b/scripts/image_signing/make_dev_ssd.sh |
index a5a961d69b786c55530f7ac53206e643f4668682..458a37f0e4130dd2c09016ef1743e46f30479e37 100755 |
--- a/scripts/image_signing/make_dev_ssd.sh |
+++ b/scripts/image_signing/make_dev_ssd.sh |
@@ -222,6 +222,12 @@ main() { |
"$FLAGS_image" || |
exit 1 |
+ # Make the root filesystem remountable if needed. |
+ if [ ${FLAGS_remove_rootfs_verification} = $FLAGS_TRUE ]; then |
+ local root_offset=$(partoffset "$FLAGS_image" 3) |
+ enable_rw_mount "$FLAGS_image" "$root_offset" |
+ fi |
+ |
resign_ssd_kernel "$FLAGS_image" || num_signed=$? |
debug_msg "Complete." |