mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-08 05:09:56 +00:00
315d4e139e
Enable execution of the tpm2-tools self-test against the Trusted Services fTPM SP. The test is integrated into OEQA but is disabled by default due to its long execution time (over three hours on fvp-base) and inconsistent results. While individual tests pass when run in isolation, running the full suite results in failures. Despite this, it remains the most comprehensive verification currently available. Testing can be enabled by setting the RUN_TPM2_TESTS variable. Signed-off-by: Gabor Toth <gabor.toth2@arm.com> Signed-off-by: Gyorgy Szing <gyorgy.szint@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
28 lines
690 B
YAML
28 lines
690 B
YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
|
|
|
|
header:
|
|
version: 14
|
|
includes:
|
|
- ci/fvp-base-ts.yml
|
|
- ci/meta-secure-core.yml
|
|
|
|
repos:
|
|
meta-secure-core:
|
|
layers:
|
|
meta-tpm2:
|
|
|
|
local_conf_header:
|
|
remove_secureboot: |
|
|
BBMASK += "efi-secure-boot"
|
|
|
|
ftpm_sp_test: |
|
|
# Include tpm2 related packages
|
|
IMAGE_INSTALL:append = " tpm2-tools-tests tpm2-abrmd tpm2-tss"
|
|
# Use systemd as the init system, which is required for the tpm2 self-tests
|
|
INIT_MANAGER = "systemd"
|
|
IMAGE_INSTALL:append = " systemd util-linux"
|
|
|
|
ts_ftpm_sp: |
|
|
MACHINE_FEATURES:append = " ts-ftpm"
|
|
RUN_TPM2_TESTS = "1"
|