[OE-core] [bitbake-devel] [PATCH v6 1/3] classes/sstate: Handle unihash in hash check
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jan 4 07:01:05 UTC 2019
On Thu, 2019-01-03 at 20:42 -0600, Joshua Watt wrote:
> Handles the argument that passes task unique hash in the hash check
> function, as it is now required by bitbake
>
> [YOCTO #13030]
>
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> ---
> meta/classes/sstate.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
> index 0abebce6996..8f3cd083e85 100644
> --- a/meta/classes/sstate.bbclass
> +++ b/meta/classes/sstate.bbclass
> @@ -780,7 +780,7 @@ sstate_unpack_package () {
>
> BB_HASHCHECK_FUNCTION = "sstate_checkhashes"
>
> -def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False):
> +def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False, *, sq_unihash):
Sorry for not replying sooner, I've just remembered the question I had
here. Does this "degrade" safely where a old bitbake is used with a new
version of OE-Core with this change?
In the past we'd have done sq_unihash=None or similar and handled that
correctly in the code to ensure it did degrade safely...
Cheers,
Richard
More information about the Openembedded-core
mailing list