mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
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>
28 lines
1.0 KiB
BlitzBasic
28 lines
1.0 KiB
BlitzBasic
DESCRIPTION = "A small image for testing meta-security packages"
|
|
|
|
require security-build-image.bb
|
|
|
|
IMAGE_FEATURES += "ssh-server-openssh"
|
|
|
|
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"
|
|
|
|
IMAGE_OVERHEAD_FACTOR = "1.0"
|
|
IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
|
|
|
|
# ptests need more memory than standard to avoid the OOM killer
|
|
# also lttng-tools needs /tmp that has at least 1G
|
|
QB_MEM = "-m 2048"
|
|
|
|
PTEST_EXPECT_FAILURE = "1"
|