summaryrefslogtreecommitdiffstats
path: root/meta-tpm/classes
diff options
context:
space:
mode:
authorAnton Antonov <Anton.Antonov@arm.com>2022-05-24 19:05:41 +0100
committerArmin Kuster <akuster808@gmail.com>2022-05-26 16:09:42 -0700
commit7628a3e90b6c51f64fd80ab2180885da4a37412f (patch)
treef39fb5fd2b42f1c208b4a61440f5cf1a95deb272 /meta-tpm/classes
parentddd4b13ea0e1f0af8d5404fa265c37cd8359865f (diff)
downloadmeta-security-7628a3e90b6c51f64fd80ab2180885da4a37412f.tar.gz
meta-parsec: Update Parsec runtime tests
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-tpm/classes')
-rw-r--r--meta-tpm/classes/sanity-meta-tpm.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-tpm/classes/sanity-meta-tpm.bbclass b/meta-tpm/classes/sanity-meta-tpm.bbclass
index 2f8b52d..1ab03c8 100644
--- a/meta-tpm/classes/sanity-meta-tpm.bbclass
+++ b/meta-tpm/classes/sanity-meta-tpm.bbclass
@@ -2,7 +2,9 @@ addhandler tpm_machinecheck
2tpm_machinecheck[eventmask] = "bb.event.SanityCheck" 2tpm_machinecheck[eventmask] = "bb.event.SanityCheck"
3python tpm_machinecheck() { 3python tpm_machinecheck() {
4 skip_check = e.data.getVar('SKIP_META_TPM_SANITY_CHECK') == "1" 4 skip_check = e.data.getVar('SKIP_META_TPM_SANITY_CHECK') == "1"
5 if 'tpm' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check: 5 if 'tpm' not in e.data.getVar('DISTRO_FEATURES').split() and \
6 'tpm2' not in e.data.getVar('DISTRO_FEATURES').split() and \
7 not skip_check:
6 bb.warn("You have included the meta-tpm layer, but \ 8 bb.warn("You have included the meta-tpm layer, but \
7'tpm or tpm2' has not been enabled in your DISTRO_FEATURES. Some bbappend files \ 9'tpm or tpm2' has not been enabled in your DISTRO_FEATURES. Some bbappend files \
8and preferred version setting may not take effect. See the meta-tpm README \ 10and preferred version setting may not take effect. See the meta-tpm README \