summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/apex/runtests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apex/runtests.sh b/build/apex/runtests.sh
index f5b4dce174..2448a0d633 100755
--- a/build/apex/runtests.sh
+++ b/build/apex/runtests.sh
@@ -271,7 +271,7 @@ function setup_target_apex {
echo "$partition" | cmp "$image_filesystems" -
# Mount the image from the Android Runtime APEX.
- guestmount -a "$image_file" -m "$partition" "$mount_point"
+ guestmount -a "$image_file" -m "$partition" --ro "$mount_point"
}
# Testing release APEX package (com.android.runtime.release).