<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>