]> code.ossystems Code Review - openembedded-core.git/commit
uninative: Add compatiblity version check
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Mar 2018 16:52:18 +0000 (09:52 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Mar 2018 22:41:26 +0000 (15:41 -0700)
commit676d4d91064d4e4f7abb2bd3597a0ddd5b7e2390
tree7aee5c4e5efa88f64a3cfdd9fd61f9440b077799
parent922dae3a2adde21717ebcd1b5fe8e75f69b391df
uninative: Add compatiblity version check

If glibc is newer on the host than in uninative, the failure mode is
pretty nasty for clusters where the sstate is shared, including the Yocto
Project autobuilder.

This check aborts the use of uninative in such scenarios where a newer
glibc version appears and avoids corruption of sstate caches.

We use ldd to check the glibc version since that is included in libc-bin
(or equivalent) which locales use so it should always be present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uninative.bbclass
meta/conf/distro/include/yocto-uninative.inc