blob: 81f69ddadc4e4b7b5628d23685beab6f940e1ba8 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001DESCRIPTION = "A small image for testing meta-security packages"
2
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05003require security-build-image.bb
4
Brad Bishop26bdd442019-08-16 17:08:17 -04005IMAGE_FEATURES += "ssh-server-openssh"
6
Andrew Geissler615f2f12022-07-15 14:00:58 -05007IMAGE_INSTALL:append = "\
8 ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-test", "",d)} \
9 ${@bb.utils.contains("BBFILE_COLLECTIONS", "tpm-layer", "packagegroup-security-tpm","", d)} \
10 ${@bb.utils.contains("BBFILE_COLLECTIONS", "tpm-layer", "packagegroup-security-tpm2","", d)} \
11 ${@bb.utils.contains("BBFILE_COLLECTIONS", "parsec-layer", "packagegroup-security-parsec","", d)} \
12 ${@bb.utils.contains("BBFILE_COLLECTIONS", "integrity", "packagegroup-ima-evm-utils","", d)} \
13"
14
15TEST_SUITES = "ssh ping apparmor clamav samhain sssd checksec smack suricata aide firejail"
16TEST_SUITES:append = " parsec tpm2 swtpm ima"
Brad Bishop26bdd442019-08-16 17:08:17 -040017
18INSTALL_CLAMAV_CVD = "1"
19
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050020IMAGE_OVERHEAD_FACTOR = "1.0"
21IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
Brad Bishop26bdd442019-08-16 17:08:17 -040022
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050023# ptests need more memory than standard to avoid the OOM killer
24# also lttng-tools needs /tmp that has at least 1G
25QB_MEM = "-m 2048"
Brad Bishop26bdd442019-08-16 17:08:17 -040026
Andrew Geisslerd1d22e62020-10-16 10:14:32 -050027PTEST_EXPECT_FAILURE = "1"