mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
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: ca38b2f88f640579703486645b0c4d9ecef78e47) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
04b69971fb
commit
025aabd28a
@@ -898,3 +898,9 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
|
||||
|
||||
MLPREFIX ??= ""
|
||||
MULTILIB_VARIANTS ??= ""
|
||||
|
||||
# Older versions of bitbake (< 1.42) don't set BB_UNIHASH. For compatibility with these
|
||||
# versions, set BB_UNIHASH equivalent to BB_TASKHASH if unspecified, which is
|
||||
# what it would be anyway if the signature generator (e.g. OEEquivHash) doesn't
|
||||
# support unihashes.
|
||||
BB_UNIHASH ?= "${BB_TASKHASH}"
|
||||
|
||||
Reference in New Issue
Block a user