image_types_sparse: use .sparse extension to create subimage link
PATCH 1/1 image_types_sparse: use .sparse extension to create subimage link
If the image extension (.simg) does not match the CONVERSIONTYPE (sparse), the function create_symlinks() in oe-core image.bbclass fails to create the image link for this subimage.
Using the .sparse extension for images produced by the ext2simg_android tool fixes this and generates a usable image link.
Signed-off-by Leo Sartre <[email protected]>
--- meta-oe/classes/image_types_sparse.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/classes/image_types_sparse.bbclass +1 -1
@@ -16,7 +16,7 @@ CONVERSION_CMD:sparse = " \ case '${type}' in \ ext*) \ bbnote 'Running e2fsprogs-derived ext2simg_android..' ; \ - ext2simg_android '${IMAGE_NAME}.${type}' '${IMAGE_NAME}.${type}.simg' || bberror 'ext2simg_android failed' \ + ext2simg_android '${IMAGE_NAME}.${type}' '${IMAGE_NAME}.${type}.sparse' || bberror 'ext2simg_android failed' \ ;; \ *) \ bbnote 'Generating sparse image for non-ext filesystem...'; \
Signature · 1 line
2.34.1