Re: Recipe Specific Sysroots - An Update

Richard Purdie

On Sun, 2017-01-22 at 17:47 -0500, Denys Dmytriyenko wrote:
On Thu, Jan 19, 2017 at 04:38:14PM +0000, Richard Purdie wrote:
To delay this any further will mean less time for other layers to
to the changes and put the main release more at risk. I don't think
anyone would like to see this delayed until 2.4. I have given
plenty of warning this was coming and time to review the patch on
Thanks, Richard!

Will there be some sort of write-up detailing any work required for
other layers to adapt to this change? Thanks.
I did write up the specifics of the implementation details into the
main commit message for the change. For layer maintainers, the key
piece were these points:

* Recipes may fail with missing dependencies, particularly native 
  tools like gettext-native, glib-2.0-native and libxml2.0-native. 
  Some hosts have these installed and will mask these errors 

* Any recipe/class using SSTATEPOSTINSTFUNCS will need that code 
  rewriting into a postinst 

* Any postinst which expects native tools at rootfs time will need to 
  mark that dependency with PACKAGE_WRITE_DEPS.

* Relocation errors that existed before will become blocking problems 

I'm hoping this is main extent of the kinds of changes needed and that
most of the issues are limited to the core but at this point its going
to be a case of testing to know more.

FWIW everything is now in master-next for OE-Core and all the
prerequisites have merged into bitbake master. All autobuilder tests
are now green.



Join { to automatically receive all group messages.