diff options
Diffstat (limited to 'scripts/image_signing/ensure_not_ASAN.sh')
-rwxr-xr-x | scripts/image_signing/ensure_not_ASAN.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/image_signing/ensure_not_ASAN.sh b/scripts/image_signing/ensure_not_ASAN.sh index 5ea51660..16cc88cd 100755 --- a/scripts/image_signing/ensure_not_ASAN.sh +++ b/scripts/image_signing/ensure_not_ASAN.sh @@ -22,8 +22,9 @@ main() { local image="$1" + local loopdev=$(loopback_partscan "${image}") local rootfs=$(make_temp_dir) - mount_image_partition_ro "$image" 3 "$rootfs" + mount_loop_image_partition_ro "${loopdev}" 3 "${rootfs}" # This mirrors the check performed in the platform_ToolchainOptions # autotest. |