All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] image_types_sparse: use .sparse extension to create subimage link
@ 2026-09-03  7:43 leo
  0 siblings, 0 replies; only message in thread
From: leo @ 2026-09-03  7:43 UTC (permalink / raw)
  To: openembedded-devel; +Cc: leo

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 <leo@missingno.tech>
---
 meta-oe/classes/image_types_sparse.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/classes/image_types_sparse.bbclass b/meta-oe/classes/image_types_sparse.bbclass
index 5c1d92bd18..b2a58b8757 100644
--- a/meta-oe/classes/image_types_sparse.bbclass
+++ b/meta-oe/classes/image_types_sparse.bbclass
@@ -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...'; \
-- 
2.34.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-03  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03  7:43 [meta-oe][PATCH] image_types_sparse: use .sparse extension to create subimage link leo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.