<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 28 July 2015 at 18:11, Abdur Rehman <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"><div id=":l5" class="a3s" style="overflow:hidden">+python () {<br>
+    if not bb.utils.contains(&#39;DISTRO_FEATURES&#39;, &#39;sysvinit&#39;, True, False, d):<br>
+        d.setVar(&quot;INHIBIT_UPDATERCD_BBCLASS&quot;, &quot;1&quot;)<br>
+}</div></blockquote></div><br>Isn&#39;t this what the update-rcd logic does already:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">    # Check that this class isn&#39;t being inhibited (generally, by</div><div class="gmail_extra">    # systemd.bbclass) before doing any work.</div><div class="gmail_extra">    if bb.utils.contains(&#39;DISTRO_FEATURES&#39;, &#39;sysvinit&#39;, True, False, d) or \</div><div class="gmail_extra">       not d.getVar(&quot;INHIBIT_UPDATERCD_BBCLASS&quot;, True):</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>