<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 11:41 AM, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":296" class="a3s" style="overflow:hidden">On Sun, Aug 30, 2015 at 11:48:19AM +0000, <a href="mailto:git@git.openembedded.org">git@git.openembedded.org</a> wrote:<br>
> Module: openembedded-core.git<br>
> Branch: master<br>
> Commit: 833302761df924bb503cc2ad04ecae1023381f8f<br>
> URL:Â Â <a href="http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=833302761df924bb503cc2ad04ecae1023381f8f" rel="noreferrer" target="_blank">http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=833302761df924bb503cc2ad04ecae1023381f8f</a><br>
><br>
> Author: Christopher Larson <<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>><br>
> Date:Â Â Mon Aug 24 15:18:34 2015 -0700<br>
><br>
> update-rc.d.bbclass: explicitly dep on initscripts<br>
><br>
> update-rc.d doesn't just want an initscripts package, it wants<br>
> initscripts-functions. In the case where VIRTUAL-RUNTIME_initscripts is set to<br>
> nothing, update-rc.d still needs initscripts-functions to satisfy its runtime<br>
> dependencies. Further, we shouldn't be using a *runtime* virtual in a *build<br>
> time* variable. This should resolve image creation failures with<br>
> configurations without sysv initscripts when a recipe inherits update-rc.d and<br>
> doesn't inherit systemd.<br>
><br>
> (From OE-Core rev: e6642ae0849e5ac3174c643a7693af25d829d6d1)<br>
<br>
Unfortunately this means that I cannot PNBLACKLIST initscripts recipe in<br>
DISTRO which provides own initscripts implementation (which also<br>
provides initscripts-functions).<br>
<br>
What's even worse is that I'll have to overlay whole bbclass to get rid<br>
of this dependency :/</div></blockquote></div><br>Of course you can. This is a build dependency. Add a PROVIDES += "initscripts" + appropriate preferences. Alternatively, we could introduce a virtual/initscripts-functions.<br>-- <br><div class="gmail_signature"><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div></div>
</div></div>