<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 29 July 2015 at 19:05, Rehman, Abdur <span dir="ltr">&lt;<a href="mailto:Abdur_Rehman@mentor.com" target="_blank">Abdur_Rehman@mentor.com</a>&gt;</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 watchdog with systemd in DISTRO_FEATURES but not sysvinit,<br>
following warning is observed:<br>
    WARNING: QA Issue: watchdog rdepends on initscripts-functions, but it isn&#39;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 watchdog on<br>
initscripts-functions, inside update_rcd_package(). And this results in the<br>
QA warning.<br></blockquote><div><br></div><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&#39;t get any init scripts.  Setting inhibit will remove the init scripts, and the watchdog daemon won&#39;t start.  I&#39;m pretty sure this isn&#39;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&#39;t be.</div><div><br></div><div>Ross</div></div></div></div>