aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/images/security-test-image.bb
blob: c71d7267d54f409ede89a3fb7e59e7ba14f4393e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DESCRIPTION = "A small image for testing meta-security packages"

IMAGE_FEATURES += "ssh-server-openssh"

TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata"

INSTALL_CLAMAV_CVD = "1"

IMAGE_INSTALL = "\
    packagegroup-base \
    packagegroup-core-boot \
    packagegroup-core-security-ptest \
    clamav \
    tripwire \
    checksec \
    suricata \
    samhain-standalone \
    ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd", "",d)} \
    ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \
    ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-test", "",d)} \
    os-release \
    " 


IMAGE_LINGUAS ?= " "

LICENSE = "MIT"

inherit core-image

export IMAGE_BASENAME = "security-test-image"

IMAGE_ROOTFS_EXTRA_SPACE = "5242880"