On Mon, 2018-09-24 at 14:19 +0000, mikko.rap...@bmw.de wrote: > My only complaint is that it's not obvious in a kernel recipe that > more than do_install() is needed to export files to sysroot. > It's easy to miss the sysroot_stage_all_append() step.
I think that becomes a documentation problem. The bbclass helper may also help? > Overwriting files from kernel recipe fails when they are used to > prepare sysroots for user recipes, but not when the kernel recipe is > build: > > ERROR: linux-image-1.0.0-r21 do_prepare_recipe_sysroot: The file > /usr/include/scsi/scsi_bsg_fc.h is installed by both linux-libc- > headers and linux, aborting > ERROR: linux-image-1.0.0-r21 do_prepare_recipe_sysroot: Function > failed: extend_recipe_sysroot > > In this case linux recipe added kernel specific headers to > /usr/include which conflict with linux-libc-headers and this was only > cought when building the kernel image. That is true, not sure how exactly we'd detect that earlier either (in a way which doesn't kill performance or involve special cases). I'm open to ideas, documentation is the main tool I think we have here. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core