summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-14 22:34:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-21 13:21:46 +0100
commita10bf92516a4771e2dc49ba9f74323d7a87a1619 (patch)
treeb645993fc33b3379bef4955f511f013a389e2ed0
parent79a14772ef2ab6c73bb438377cd259c484020818 (diff)
downloadopenembedded-core-contrib-a10bf92516a4771e2dc49ba9f74323d7a87a1619.tar.gz
yocto-check-layer: Ensure we use OEBasicHash as the signature handler
The layer checks are designed to work with OEBasicHash so ensure that handler is in use rather than the new hash equivalency one as an example. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/checklayer/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 8244cf0720..5aeec2f00f 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -245,7 +245,7 @@ def get_signatures(builddir, failsafe=False, machine=None):
sigs = {}
tune2tasks = {}
- cmd = ''
+ cmd = 'BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER" BB_SIGNATURE_HANDLER="OEBasicHash" '
if machine:
cmd += 'MACHINE=%s ' % machine
cmd += 'bitbake '