On Thu, May 10, 2018 at 10:22:34AM +0100, Burton, Ross wrote:
$ bitbake image-foo image-bar image-foo and image-bar both contain recipe-flob. recipe-flob will be built *once* to generate the packages, and those packages used to build both images. If image-foo is read-only and image-bar is read/write, the *same packages* will be reused. recipe-flob has no idea that foo is read-only and bar is read/write because the IMAGE_FEATURES assignments are specific to those image recipes.
When dealing with a somewhat similar problem, what I've done is that my-recipe.bb generates two packages (my-package-a, my-package-b) and the images select which of the two packages they want to use.
Marcelo -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto