[yocto] sstate-cache and native recipes

Burton, Ross ross.burton at intel.com
Wed Jan 18 01:35:06 PST 2017


On 18 January 2017 at 09:13, Gary Thomas <gary at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170118/387ba5fe/attachment.html>


More information about the yocto mailing list