]> code.ossystems Code Review - openembedded-core.git/commitdiff
yocto-check-layer: Ensure we use OEBasicHash as the signature handler
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Aug 2019 21:34:51 +0000 (22:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Aug 2019 12:21:46 +0000 (13:21 +0100)
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>
scripts/lib/checklayer/__init__.py

index 8244cf07208afb76c9d0f53b622c3e2b3f8b32b1..5aeec2f00f75eae78e7140679e22b70bd73d3eb5 100644 (file)
@@ -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 '