summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-06-03 08:56:10 -0700
committerArmin Kuster <akuster808@gmail.com>2019-06-26 15:47:47 -0700
commit2098981e0cfd5906e39d819d8b018cb0ae1a1556 (patch)
tree6d7eeead8e46c9a98c277449ad8d85c8b08a4204
parent55ff4e2434ba8b9fdc39dded3afb524fac90efaa (diff)
downloadmeta-security-2098981e0cfd5906e39d819d8b018cb0ae1a1556.tar.gz
test-image: add packagegroup-core-security-ptest
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/images/security-test-image.bb4
-rw-r--r--recipes-security/packagegroup/packagegroup-core-security-ptest.bb25
2 files changed, 26 insertions, 3 deletions
diff --git a/recipes-security/images/security-test-image.bb b/recipes-security/images/security-test-image.bb
index d801fdc..f133084 100644
--- a/recipes-security/images/security-test-image.bb
+++ b/recipes-security/images/security-test-image.bb
@@ -4,15 +4,13 @@ IMAGE_FEATURES += "ssh-server-openssh"
4 4
5TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata" 5TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata"
6 6
7DISTRO_FEATURES_append = " ptest"
8INSTALL_CLAMAV_CVD = "1" 7INSTALL_CLAMAV_CVD = "1"
9 8
10IMAGE_INSTALL = "\ 9IMAGE_INSTALL = "\
11 packagegroup-base \ 10 packagegroup-base \
12 packagegroup-core-boot \ 11 packagegroup-core-boot \
13 packagegroup-core-security \ 12 packagegroup-core-security-ptest \
14 os-release \ 13 os-release \
15 clamav-cvd \
16 " 14 "
17 15
18 16
diff --git a/recipes-security/packagegroup/packagegroup-core-security-ptest.bb b/recipes-security/packagegroup/packagegroup-core-security-ptest.bb
new file mode 100644
index 0000000..4934889
--- /dev/null
+++ b/recipes-security/packagegroup/packagegroup-core-security-ptest.bb
@@ -0,0 +1,25 @@
1DESCRIPTION = "Security ptest packagegroup"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6PACKAGES = "\
7 ${PN} \
8 "
9
10ALLOW_EMPTY_${PN} = "1"
11
12SUMMARY_${PN} = "Security packages with ptests"
13RDEPENDS_${PN} = " \
14 ptest-runner \
15 samhain-standalone-ptest \
16 xmlsec1-ptest \
17 keyutils-ptest \
18 libseccomp-ptest \
19 python-scapy-ptest \
20 suricata-ptest \
21 tripwire-ptest \
22 python-fail2ban-ptest \
23 ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor-ptest", "",d)} \
24 ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-ptest", "",d)} \
25 "