diff options
| author | Armin Kuster <akuster808@gmail.com> | 2020-09-29 19:09:46 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2020-10-01 06:22:07 -0700 |
| commit | b03d65ffe4b6668456c9b7f2289918074467c017 (patch) | |
| tree | 5ce726bf00f4e3a4eb60757667f4f87524dae345 /recipes-core/images | |
| parent | 60a17b82d2ff6961bd087c32bef4808ea292514a (diff) | |
| download | meta-security-b03d65ffe4b6668456c9b7f2289918074467c017.tar.gz | |
security-test-image: simplify
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-core/images')
| -rw-r--r-- | recipes-core/images/security-test-image.bb | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/recipes-core/images/security-test-image.bb b/recipes-core/images/security-test-image.bb index c71d726..babe3fd 100644 --- a/recipes-core/images/security-test-image.bb +++ b/recipes-core/images/security-test-image.bb | |||
| @@ -1,33 +1,11 @@ | |||
| 1 | DESCRIPTION = "A small image for testing meta-security packages" | 1 | DESCRIPTION = "A small image for testing meta-security packages" |
| 2 | 2 | ||
| 3 | require security-build-image.bb | ||
| 4 | |||
| 3 | IMAGE_FEATURES += "ssh-server-openssh" | 5 | IMAGE_FEATURES += "ssh-server-openssh" |
| 4 | 6 | ||
| 5 | TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata" | 7 | TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata" |
| 6 | 8 | ||
| 7 | INSTALL_CLAMAV_CVD = "1" | 9 | INSTALL_CLAMAV_CVD = "1" |
| 8 | 10 | ||
| 9 | IMAGE_INSTALL = "\ | ||
| 10 | packagegroup-base \ | ||
| 11 | packagegroup-core-boot \ | ||
| 12 | packagegroup-core-security-ptest \ | ||
| 13 | clamav \ | ||
| 14 | tripwire \ | ||
| 15 | checksec \ | ||
| 16 | suricata \ | ||
| 17 | samhain-standalone \ | ||
| 18 | ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd", "",d)} \ | ||
| 19 | ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \ | ||
| 20 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-test", "",d)} \ | ||
| 21 | os-release \ | ||
| 22 | " | ||
| 23 | |||
| 24 | |||
| 25 | IMAGE_LINGUAS ?= " " | ||
| 26 | |||
| 27 | LICENSE = "MIT" | ||
| 28 | |||
| 29 | inherit core-image | ||
| 30 | |||
| 31 | export IMAGE_BASENAME = "security-test-image" | ||
| 32 | |||
| 33 | IMAGE_ROOTFS_EXTRA_SPACE = "5242880" | 11 | IMAGE_ROOTFS_EXTRA_SPACE = "5242880" |
