diff options
author | Ludovic Jozeau <ludovic.jozeau@smile.fr> | 2023-12-21 15:24:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-23 08:46:00 +0000 |
commit | 7608ad08ae677b16d4684243a05e4e6bf6b8632a (patch) | |
tree | 24bc5ba33831764835102dd5b6ca50319e3edd96 /meta/classes-recipe/image-live.bbclass | |
parent | 3000abe20af58ca9094dd77f890715cc3f4ef04a (diff) | |
download | poky-7608ad08ae677b16d4684243a05e4e6bf6b8632a.tar.gz |
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]
(From OE-Core rev: 67c507e3d42e52a6d452c4a453eeaf7f2e2d68d6)
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>
Diffstat (limited to 'meta/classes-recipe/image-live.bbclass')
-rw-r--r-- | meta/classes-recipe/image-live.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/image-live.bbclass b/meta/classes-recipe/image-live.bbclass index 95dd44a8c0..da919d52f9 100644 --- a/meta/classes-recipe/image-live.bbclass +++ b/meta/classes-recipe/image-live.bbclass | |||
@@ -31,7 +31,7 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \ | |||
31 | virtual/kernel:do_deploy \ | 31 | virtual/kernel:do_deploy \ |
32 | ${MLPREFIX}syslinux:do_populate_sysroot \ | 32 | ${MLPREFIX}syslinux:do_populate_sysroot \ |
33 | syslinux-native:do_populate_sysroot \ | 33 | syslinux-native:do_populate_sysroot \ |
34 | ${@'%s:do_image_%s' % (d.getVar('PN'), d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_')) if d.getVar('ROOTFS') else ''} \ | 34 | ${@'%s:do_image_%s' % (d.getVar('PN'), d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_').split('.')[0]) if d.getVar('ROOTFS') else ''} \ |
35 | " | 35 | " |
36 | 36 | ||
37 | 37 | ||