mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-04 14:10:22 +00:00
security-test-image: auto include layers if present.
This is to simplify tesing to build one image and include pkgs depending on the layers included in the BBLAYERS. Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -4,7 +4,16 @@ require security-build-image.bb
|
||||
|
||||
IMAGE_FEATURES += "ssh-server-openssh"
|
||||
|
||||
TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata"
|
||||
IMAGE_INSTALL:append = "\
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-test", "",d)} \
|
||||
${@bb.utils.contains("BBFILE_COLLECTIONS", "tpm-layer", "packagegroup-security-tpm","", d)} \
|
||||
${@bb.utils.contains("BBFILE_COLLECTIONS", "tpm-layer", "packagegroup-security-tpm2","", d)} \
|
||||
${@bb.utils.contains("BBFILE_COLLECTIONS", "parsec-layer", "packagegroup-security-parsec","", d)} \
|
||||
${@bb.utils.contains("BBFILE_COLLECTIONS", "integrity", "packagegroup-ima-evm-utils","", d)} \
|
||||
"
|
||||
|
||||
TEST_SUITES = "ssh ping apparmor clamav samhain sssd checksec smack suricata"
|
||||
TEST_SUITES:append = " parsec tpm2 swtpm ima"
|
||||
|
||||
INSTALL_CLAMAV_CVD = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user