Bug 10883

Summary: IMAGE_TYPEDEP_* doesn't add dependencies needed for conversion types
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Randy Witt <randy.e.witt>
Component: coreAssignee: Randy Witt <randy.e.witt>
Status: RESOLVED FIXED QA Contact: Juan Ramos <juan.fernandox.ramos.frayle>
Severity: normal    
Priority: Medium+ CC: jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 2.2   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 9502    
Attachments:
Description Flags
Patch to reproduce bug none

Description Randy Witt 2017-01-05 19:25:49 UTC
For instance if

    IMAGE_TYPEDEP_foo = "tar.bz2"

then when setting IMAGE_FSTYPES = "foo", during image creation do_image_tar fails, because pbzip2-native doesn't get added to the dependencies.

To reproduce:
1. apply the patch attached, to master as of dbb247cac5fbf7b037e4955f9793828451723924.
2. bitbake sample-image

The patch is essentially work in progress for 9502, which is how I discovered the issue.
Comment 1 Randy Witt 2017-01-05 19:27:11 UTC
Created attachment 3587 [details]
Patch to reproduce bug
Comment 2 Randy Witt 2017-01-06 00:03:56 UTC
Submitted fix to the list:

http://lists.openembedded.org/pipermail/openembedded-core/2017-January/130816.html
Comment 3 Randy Witt 2017-01-17 23:19:03 UTC
In master as of b138a8bba504734f6c2660442f71a8ecc17b8f7c