summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2019-05-01 15:35:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-02 09:56:19 +0100
commit3d19803cbd0869dd55dbc778dacf6f6397374457 (patch)
tree187b5520958dd364a22f10b6acc8a4cbd4e176e4 /meta/conf/bitbake.conf
parent13f45af4a460a668524c3ac6b133d5b51d8e72dc (diff)
downloadpoky-3d19803cbd0869dd55dbc778dacf6f6397374457.tar.gz
bitbake.conf: Account for older versions of bitbake
Older versions of bitbake (prior to 1.42) don't expose the BB_UNIHASH variable which is being used by sstate. For compatibility with these older versions of bitbake, set BB_UNIHASH to BB_TASKHASH (which is the value it should be for non-hash equivalent aware signature generators). if bitbake hasn't already set it. [YOCTO #13314] (From OE-Core rev: de1782b23f8a98df3b42cb57bbcdff690bfa2343) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d35a6f64d9..14b0764f22 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -901,3 +901,9 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
901 901
902MLPREFIX ??= "" 902MLPREFIX ??= ""
903MULTILIB_VARIANTS ??= "" 903MULTILIB_VARIANTS ??= ""
904
905# Older versions of bitbake (< 1.42) don't set BB_UNIHASH. For compatibility with these
906# versions, set BB_UNIHASH equivalent to BB_TASKHASH if unspecified, which is
907# what it would be anyway if the signature generator (e.g. OEEquivHash) doesn't
908# support unihashes.
909BB_UNIHASH ?= "${BB_TASKHASH}"