]> code.ossystems Code Review - openembedded-core.git/commit
buildtools-tarball: add nativesdk-libnss-nis
authorChen Qi <Qi.Chen@windriver.com>
Fri, 25 May 2018 02:54:46 +0000 (10:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jul 2018 21:54:56 +0000 (22:54 +0100)
commitf7c703dd43e112b6cd63c7512645a1d418569ad7
treeb298038e4a6e43cbeba3b4450c14aaf1d804b4f4
parentdb6ce9d8838b1f9064604654ab579da3e237f361
buildtools-tarball: add nativesdk-libnss-nis

Recent glibc change removed libnss-nis module from glibc and a new
recipe libnss-nis.bb was added.

After this change, we need to make sure nativesdk-libnss-nis is also
included in buildtools-tarball, otherwise, we may encounter the following
error when using 'tar' command from buildtools-tarball.

  tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \
       symbol _nsl_default_nss version GLIBC_PRIVATE not defined \
       in file libnsl.so.1 with link time reference

This error occured on my ubuntu16.04 host with 'nis' configured in
/etc/nssswitch.conf.

So add nativesdk-libnss-nis to buildtools-tarball to fix this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/buildtools-tarball.bb