summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-06-01 21:10:25 -0700
committerArmin Kuster <akuster808@gmail.com>2019-06-26 15:47:47 -0700
commitee580bd011920e8d4d0a89dd03533fe5bea2eac7 (patch)
tree32db055c2ac839c3db9aeb92aeb6cec03aa5427b
parent723cd9e37221f90cc378b49a0c0f3419508500bb (diff)
downloadmeta-security-ee580bd011920e8d4d0a89dd03533fe5bea2eac7.tar.gz
security-test-image: add a testing image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/images/security-test-image.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-security/images/security-test-image.bb b/recipes-security/images/security-test-image.bb
new file mode 100644
index 0000000..d801fdc
--- /dev/null
+++ b/recipes-security/images/security-test-image.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "A small image for testing meta-security packages"
2
3IMAGE_FEATURES += "ssh-server-openssh"
4
5TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata"
6
7DISTRO_FEATURES_append = " ptest"
8INSTALL_CLAMAV_CVD = "1"
9
10IMAGE_INSTALL = "\
11 packagegroup-base \
12 packagegroup-core-boot \
13 packagegroup-core-security \
14 os-release \
15 clamav-cvd \
16 "
17
18
19IMAGE_LINGUAS ?= " "
20
21LICENSE = "MIT"
22
23inherit core-image
24
25export IMAGE_BASENAME = "security-test-image"
26
27IMAGE_ROOTFS_EXTRA_SPACE = "5242880"