]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
image-live.bbclass: LIVE_ROOTFS_TYPE support compression
authorLudovic Jozeau <ludovic.jozeau@smile.fr>
Thu, 21 Dec 2023 14:24:21 +0000 (15:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Dec 2023 08:43:38 +0000 (08:43 +0000)
commit67c507e3d42e52a6d452c4a453eeaf7f2e2d68d6
treec60b28e2f81b5c545c63326b1786727f1b10ef73
parent12f92772c8ccf622fd353836c1172e15ee8c6857
image-live.bbclass: LIVE_ROOTFS_TYPE support compression

The task for fstypes with compression is the same as the task for the
uncompressed fstypes, e.g. when adding tar.xz to `IMAGE_FSTYPES`, it will
be included into the do_image_tar task and not creating a separate
do_image_tar.xz task.

This commit fixes `LIVE_ROOTFS_TYPE` with compressed fstypes by
depending on the actual task instead of the non-existent
do_image_<fstype>.<compression> task.

Fixes [YOCTO #15331]

Signed-off-by: Ludovic Jozeau <ludovic.jozeau@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/image-live.bbclass