diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-05-25 10:54:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-06 22:55:02 +0100 |
commit | c2ccd089b213f481a6b54841202ca2753b184b64 (patch) | |
tree | 4896ffe9b6d5a917676a03320e2255a6330fcc40 | |
parent | 303fb675f251de2e9719a02c525b5240bb23e65f (diff) | |
download | poky-c2ccd089b213f481a6b54841202ca2753b184b64.tar.gz |
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.
(From OE-Core rev: f7c703dd43e112b6cd63c7512645a1d418569ad7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index d98a9c901c..377733f40e 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -21,6 +21,7 @@ TOOLCHAIN_HOST_TASK ?= "\ | |||
21 | nativesdk-wget \ | 21 | nativesdk-wget \ |
22 | nativesdk-ca-certificates \ | 22 | nativesdk-ca-certificates \ |
23 | nativesdk-texinfo \ | 23 | nativesdk-texinfo \ |
24 | nativesdk-libnss-nis \ | ||
24 | " | 25 | " |
25 | 26 | ||
26 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" | 27 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" |