<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 2, 2014 at 10:54 AM, Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[This is an RFC which depends on a patch to bitbake to operate]<br>
<br>
Currently, we have a mess of dependencies for pixbufcache and even then<br>
it breaks since they might be controlled by PACKAGECONFIG.<br>
<br>
Instead, this patch proposes an alternative approach where we allow<br>
"fixups" from a sceneQueueComplete() event at the end of the setscene<br>
process. We signal the need for these using simply stamp files.<br>
<br>
The one downside is that the processing code needs to be in a global<br>
event handler like base.bbclass rather than pixbufcache.bbclass but this<br>
is probably a price worth paying to avoid the dependency mess?<br>
<br>
Signed-off-by: Richard Purdie <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>><br>
<br></blockquote><div><br></div></div>Instead of having the sstate_postinst() touch "needpixbuf", could we make it write out the actual script that needs to be executed ?<br></div><div class="gmail_extra">Then base.bbclass could iterate over any scripts installed by any sstate_postinst() and execute them. At least this would better isolate the pixbuf-code to pixbufcache.bbclass, and make the snippet in base.bbclass more generic.<br>
</div><div class="gmail_extra">/Jacob<br></div><div class="gmail_extra"><br></div></div>