<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 11:35 AM, Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 29 July 2015 at 19:05, Rehman, Abdur <span dir="ltr"><<a href="mailto:Abdur_Rehman@mentor.com" target="_blank">Abdur_Rehman@mentor.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="http://watchdog_5.14.bb" target="_blank">watchdog_5.14.bb</a> does not inherit systemd, and so INHIBIT_UPDATERCD_BBCLASS does<br>
not get set.<br>
<br>
While trying to build <span class="il">watchdog</span> with systemd in DISTRO_FEATURES but not sysvinit,<br>
following warning is observed:<br>
WARNING: QA Issue: <span class="il">watchdog</span> rdepends on initscripts-functions, but it isn't<br>
a build dependency? [build-deps]<br>
<br>
Since sysvinit is not in DISTRO_FEATURES and INHIBIT_UPDATERCD_BBCLASS is not<br>
set, the logic in update-rc.d.bbclass goes on to add an rdep for <span class="il">watchdog</span> on<br>
initscripts-functions, inside update_rcd_package(). And this results in the<br>
QA warning.<br></blockquote><div><br></div></span><div>When a class inherits update-rcd but not systemd, and the distro is systemd only, update-rcd still runs (and has still run) as otherwise you don't get any init scripts. Setting inhibit will remove the init scripts, and the <span class="il">watchdog</span> daemon won't start. I'm pretty sure this isn't what you intended.</div><div><br></div><div>Are you overriding VIRTUAL-RUNTIME_initscripts in your distro? update-rcd adds a dependency on that when it is inherited, which by default is initscripts, so you get your build dependency there. I suspect your distro is overriding that variable when perhaps it shouldn't be.</div></blockquote></div><br><span style="color:rgb(0,0,0);font-family:Tahoma;font-size:13px">I don’t think we really want initscripts installed in a systemd-only distro, particularly if systemd is built with sysvcompat enabled, as we don’t want to run the sysvinit scripts for services which are already covered by systemd proper, unless I’m missing something?<br></span>-- <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>