aboutsummaryrefslogtreecommitdiffstats
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
meta-security-ee580bd011920e8d4d0a89dd03533fe5bea2eac7.tar.bz2
meta-security-ee580bd011920e8d4d0a89dd03533fe5bea2eac7.zip
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 @@
+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"
+
+DISTRO_FEATURES_append = " ptest"
+INSTALL_CLAMAV_CVD = "1"
+
+IMAGE_INSTALL = "\
+ packagegroup-base \
+ packagegroup-core-boot \
+ packagegroup-core-security \
+ os-release \
+ clamav-cvd \
+ "
+
+
+IMAGE_LINGUAS ?= " "
+
+LICENSE = "MIT"
+
+inherit core-image
+
+export IMAGE_BASENAME = "security-test-image"
+
+IMAGE_ROOTFS_EXTRA_SPACE = "5242880"