On 18 January 2017 at 09:13, Gary Thomas <g...@mlbassoc.com> wrote:

> * glib-2.0-native depends on ${DISTRO_FEATURES}
>   To me this seems silly as "native" should be "native" and
>   not depend on any distribution settings.  Here's the code
>   that's causing it (in do_install)
>
>         if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test
> ]; then
>                 if ${@bb.utils.contains("DISTRO_FEATURES", "x11",
> "false", "true", d)}; then
>                         rm ${D}${datadir}/installed-tests
> /glib/gdbus-serialization.test
>                 fi
>         fi
>
>   Obviously this isn't important for a native package.  Any
>   suggestions on how I might keep this from creeping in?
>

The tests are only installed for target builds anyway, so that do_install
part could be target-specific.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to