When creating a live image (`IMAGE_FSTYPES += "iso"`) and setting `LIVE_ROOTFS_TYPE = "tar.xz"` along with `IMAGE_FSTYPES += "tar.xz"` the build throws an error: `ERROR: Task do_bootimg in .../meta-custom/recipes-core/images/custom-image.bb depends upon non-existent task do_image_tar.xz in .../meta-custom/recipes-core/images/custom-image.bb` When looking at image-live.bbclass we can see the culprit: https://git.yoctoproject.org/poky/tree/meta/classes-recipe/image-live.bbclass?id=4a5ef39d8a6a18dc48f280fb52be1fc8bfac3799#n34 do_bootimg[depends] += "... \ d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_')) if d.getVar('ROOTFS') else ''} \ " I think this line should truncate the .xz, .gz, ... part to depends on the actual task (do_image_tar, ...) Something like: `d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_').split('.')[0]) if d.getVar('ROOTFS') else ''} \`
Patch send => https://lists.openembedded.org/g/openembedded-core/message/192828
Patch on list.
Bulk move to Milestone 5.0 M3
Fix merged: https://git.yoctoproject.org/poky/commit/?id=7608ad08ae677b16d4684243a05e4e6bf6b8632a