From 2098981e0cfd5906e39d819d8b018cb0ae1a1556 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Mon, 3 Jun 2019 08:56:10 -0700 Subject: test-image: add packagegroup-core-security-ptest Signed-off-by: Armin Kuster --- recipes-security/images/security-test-image.bb | 4 +--- .../packagegroup-core-security-ptest.bb | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 recipes-security/packagegroup/packagegroup-core-security-ptest.bb (limited to 'recipes-security') 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" 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 \ + packagegroup-core-security-ptest \ os-release \ - clamav-cvd \ " 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 @@ +DESCRIPTION = "Security ptest packagegroup" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PACKAGES = "\ + ${PN} \ + " + +ALLOW_EMPTY_${PN} = "1" + +SUMMARY_${PN} = "Security packages with ptests" +RDEPENDS_${PN} = " \ + ptest-runner \ + samhain-standalone-ptest \ + xmlsec1-ptest \ + keyutils-ptest \ + libseccomp-ptest \ + python-scapy-ptest \ + suricata-ptest \ + tripwire-ptest \ + python-fail2ban-ptest \ + ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor-ptest", "",d)} \ + ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-ptest", "",d)} \ + " -- cgit v1.2.3-54-g00ecf