<div dir="ltr">On 28 February 2016 at 11:39, Jens Rehsack <span dir="ltr">&lt;<a href="mailto:rehsack@gmail.com" target="_blank">rehsack@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+PACKAGECONFIG[dbus] = &quot;,--disable-dbus,dbus&quot;<br>
</blockquote><div><br></div><div>Add --enable-dbus for clarity, please.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-       rm -rf ${D}${datadir}/dbus-1/interfaces<br>
-       rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1<br>
+       ${@bb.utils.contains(&#39;PACKAGECONFIG&#39;,&#39;dbus&#39;,&#39;rm -rf ${D}${datadir}/dbus-1/interfaces&#39;,&#39;&#39;,d)}<br>
+       ${@bb.utils.contains(&#39;PACKAGECONFIG&#39;,&#39;dbus&#39;,&#39;rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1&#39;,&#39;&#39;,d)}<br></blockquote><div><br></div><div>The interfaces files should probably be installed in avahi-dev as they&#39;re genuinely useful, and then I think the rmdir --ignore-fail-on-non-empty can always be executed.</div><div><br></div><div>Ross</div></div></div></div>