Re: Package postinstall dependencies - Introduction of PACKAGE_WRITE_DEPS
Jussi Kukkonen <jussi.kukkonen@...>
On 18 January 2017 at 16:23, Richard Purdie <richard.purdie@...> wrote:
Richard asked me to test this and look at the remaining unhandled postinstalls. I've now done that, patches for the missing PACKAGE_WRITE_DEPS are in the "jku/wip-rss" branch in poky-contrib http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=jku/wip-rss. The branch is based on Richards rpurdie/wip-rss -- but I did test this (Richards) patch and mine on top of master first.
It all seems to work fine: I've not managed to break the dependency handling yet and things like running target tools via qemu in postinstall seem to do the right thing. I'll continue testing though: especially with recipe-specific-sysroots there's quite a few new things to grasp so it's a little slower going than normal.
Regarding the naming discussion: It would be great if it was somehow made obvious to a recipe writer who adds a postinstall script that they may need to add PACKAGE_WRITE_DEPS as well... but I don't really have practical suggestions here.