<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2017 at 11:51, Gary Thomas <span dir="ltr"><<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2017-01-18 10:35, Burton, Ross wrote:<span class="gmail-"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
On 18 January 2017 at 09:13, Gary Thomas <<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a> <mailto:<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a>>> wrote:<br>
<br>
  * glib-2.0-native depends on ${DISTRO_FEATURES}<br>
   To me this seems silly as "native" should be "native" and<br>
   not depend on any distribution settings. Here's the code<br>
   that's causing it (in do_install)<br>
<br>
      if [ -f ${D}${datadir}/installed-tests<wbr>/glib/gdbus-serialization.test ]; then<br>
          if ${@bb.utils.contains("DISTRO_F<wbr>EATURES", "x11", "false", "true", d)}; then<br>
              rm ${D}${datadir}/installed-tests<wbr>/glib/gdbus-serialization.test<br>
          fi<br>
      fi<br>
<br>
   Obviously this isn't important for a native package. Any<br>
   suggestions on how I might keep this from creeping in?<br>
<br>
<br>
The tests are only installed for target builds anyway, so that do_install part could be target-specific.<br>
</blockquote>
<br></span>
How would one change the recipe to reflect that? Is there an<br>
override that effectively says "not -native"?<br></blockquote><div><br></div><div><div>do_install_append_class-target () should work.</div></div><div><br></div><div>Â - Jussi</div></div></div></div>