]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/create-spdx: Speed up hash calculations
authorJoshua Watt <JPEWhacker@gmail.com>
Wed, 1 Sep 2021 13:44:51 +0000 (08:44 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Sep 2021 08:03:36 +0000 (09:03 +0100)
commita6d9de5350937c7e25899491db59f473345f0b69
tree33c261c512d66aaf66dd5b50ff32f01b79fecf92
parent28d9d035c0ff8fcaf28bc96a976a43a602a47e94
classes/create-spdx: Speed up hash calculations

Use the bb.utils.sha* utilities to hash files since they are much faster
than the loops we were rolling ourselves

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/create-spdx.bbclass