ret = get_image_by_type(images, combined_type, fstype, image_name, image_sha256);
if (!ret)
return 0;
+
+ ret = get_image_by_type(images, "sdcard", fstype, image_name, image_sha256);
+ if (!ret)
+ return 0;
}
/* fallback to squashfs unless fstype requested explicitly */
return 0;
ret = get_image_by_type(images, combined_type, "squashfs", image_name, image_sha256);
+ if (!ret)
+ return 0;
+
+ ret = get_image_by_type(images, "sdcard", fstype, image_name, image_sha256);
}
return ret;