]> code.ossystems Code Review - openembedded-core.git/commit
sstatesig.py: Split single locked sigs check into multiple checks
authorRandy Witt <randy.e.witt@linux.intel.com>
Thu, 7 Apr 2016 23:34:49 +0000 (16:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Apr 2016 06:53:09 +0000 (07:53 +0100)
commit0fe2a5e5ffd01e926d0f3d4c78ad9910296e2d1a
tree9793ce414ea29d5583379afea33ebe42b1d2b6e6
parentd28935d84ea4530fc1b7cedfdbc80f311c72f7dd
sstatesig.py: Split single locked sigs check into multiple checks

Add the SIGGEN_LOCKEDSIGS_TASKSIG_CHECK and
SIGGEN_LOCKEDSIGS_SSTATE_EXISTS_CHECK variables to replace
SIGGEN_LOCKEDSIGS_CHECK_LEVEL.

SIGGEN_LOCKEDSIGS_TASKSIG_CHECK will no control whether there is a
warning or error if a task's hash in the locked signature file doesn't match
the computed hash from the current metadata.

SIGGEN_LOCKEDSIGS_SSTATE_EXISTS_CHECK will control whther there is a
warning or error if a task that supports sstate is in the locked
signature file, but no sstate exists for the task.

Previously you could only have warning/errors for both controlled by
SIGGEN_LOCKEDSIGS_CHECK_LEVEL. This was an issue in the extensible sdk,
because we know sstate won't exist for certain items in the reverse
dependencies list for tasks. However, we still want to error if task
signatures don't match.

[YOCTO #9195]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/lib/oe/sstatesig.py
meta/lib/oeqa/selftest/signing.py