diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-08 21:29:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-09 10:52:03 +0000 |
commit | e758547db9048d4aa1c1415d6af8072f519fae24 (patch) | |
tree | 02a28b90ed09d9f1df1940757aaf38f64d033a13 /meta/recipes-support | |
parent | 3eee8e99e114b3db8b718834ca52da8d2919b83f (diff) | |
download | poky-e758547db9048d4aa1c1415d6af8072f519fae24.tar.gz |
nss: Fix nss-native so the checksum doesn't change with BUILD_ARCH
Switching between 32 and 64 bit BUILD_ARCH shows:
$ bitbake-diffsigs tmp-sstatesamehash*/stamps/*/nss-native/3.27.1-r0.do_compile.sigdata.*
basehash changed from 944cc4554a823ba966aeda0ac3d33b79 to 2475db3659c248d81d0e4dadb3c1b4cd
Variable SITEINFO_BITS value changed from '32' to '64'
We shouldn't have this dependency and it would fail oe-selftest test_sstate_32_64_same_hash
if nss-native were included, therefore exclude it.
(From OE-Core rev: d1109378d730c5cf50240c4d1a468e3aef5208ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/nss/nss_3.27.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/nss/nss_3.27.1.bb b/meta/recipes-support/nss/nss_3.27.1.bb index 9aad5bd41c..c89470fb11 100644 --- a/meta/recipes-support/nss/nss_3.27.1.bb +++ b/meta/recipes-support/nss/nss_3.27.1.bb | |||
@@ -107,6 +107,7 @@ do_compile() { | |||
107 | OS_TEST=${OS_TEST} \ | 107 | OS_TEST=${OS_TEST} \ |
108 | RPATH="${RPATH}" | 108 | RPATH="${RPATH}" |
109 | } | 109 | } |
110 | do_compile[vardepsexclude] += "SITEINFO_BITS" | ||
110 | 111 | ||
111 | 112 | ||
112 | do_install_prepend_class-nativesdk() { | 113 | do_install_prepend_class-nativesdk() { |
@@ -180,6 +181,7 @@ do_install() { | |||
180 | install -m 755 -t ${D}/${bindir} $binary | 181 | install -m 755 -t ${D}/${bindir} $binary |
181 | done | 182 | done |
182 | } | 183 | } |
184 | do_install[vardepsexclude] += "SITEINFO_BITS" | ||
183 | 185 | ||
184 | do_install_append() { | 186 | do_install_append() { |
185 | # Create empty .chk files for the NSS libraries at build time. They could | 187 | # Create empty .chk files for the NSS libraries at build time. They could |