diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-06-03 08:56:10 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-06-26 15:47:47 -0700 |
commit | 2098981e0cfd5906e39d819d8b018cb0ae1a1556 (patch) | |
tree | 6d7eeead8e46c9a98c277449ad8d85c8b08a4204 | |
parent | 55ff4e2434ba8b9fdc39dded3afb524fac90efaa (diff) | |
download | meta-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.bb | 4 | ||||
-rw-r--r-- | recipes-security/packagegroup/packagegroup-core-security-ptest.bb | 25 |
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 | ||
5 | TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata" | 5 | TEST_SUITES = "ssh ping ptest apparmor clamav samhain sssd tripwire checksec smack suricata" |
6 | 6 | ||
7 | DISTRO_FEATURES_append = " ptest" | ||
8 | INSTALL_CLAMAV_CVD = "1" | 7 | INSTALL_CLAMAV_CVD = "1" |
9 | 8 | ||
10 | IMAGE_INSTALL = "\ | 9 | IMAGE_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 @@ | |||
1 | DESCRIPTION = "Security ptest packagegroup" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ | ||
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | PACKAGES = "\ | ||
7 | ${PN} \ | ||
8 | " | ||
9 | |||
10 | ALLOW_EMPTY_${PN} = "1" | ||
11 | |||
12 | SUMMARY_${PN} = "Security packages with ptests" | ||
13 | RDEPENDS_${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 | " | ||