diff options
| author | Anton Antonov <Anton.Antonov@arm.com> | 2022-05-24 19:05:41 +0100 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2022-05-26 16:09:42 -0700 |
| commit | 7628a3e90b6c51f64fd80ab2180885da4a37412f (patch) | |
| tree | f39fb5fd2b42f1c208b4a61440f5cf1a95deb272 /meta-tpm | |
| parent | ddd4b13ea0e1f0af8d5404fa265c37cd8359865f (diff) | |
| download | meta-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')
| -rw-r--r-- | meta-tpm/classes/sanity-meta-tpm.bbclass | 4 |
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 | |||
| 2 | tpm_machinecheck[eventmask] = "bb.event.SanityCheck" | 2 | tpm_machinecheck[eventmask] = "bb.event.SanityCheck" |
| 3 | python tpm_machinecheck() { | 3 | python 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 \ |
| 8 | and preferred version setting may not take effect. See the meta-tpm README \ | 10 | and preferred version setting may not take effect. See the meta-tpm README \ |
