meta-parsec: Update Parsec runtime tests

Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Anton Antonov
2022-05-24 19:05:41 +01:00
committed by Armin Kuster
parent ddd4b13ea0
commit 7628a3e90b
5 changed files with 191 additions and 19 deletions
+3 -1
View File
@@ -2,7 +2,9 @@ addhandler tpm_machinecheck
tpm_machinecheck[eventmask] = "bb.event.SanityCheck"
python tpm_machinecheck() {
skip_check = e.data.getVar('SKIP_META_TPM_SANITY_CHECK') == "1"
if 'tpm' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
if 'tpm' not in e.data.getVar('DISTRO_FEATURES').split() and \
'tpm2' not in e.data.getVar('DISTRO_FEATURES').split() and \
not skip_check:
bb.warn("You have included the meta-tpm layer, but \
'tpm or tpm2' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
and preferred version setting may not take effect. See the meta-tpm README \