[yocto] [meta-security][PATCH 1/4] packagegroup-core-security-ptest: only included if ptest is enabled
Armin Kuster
akuster808 at gmail.com
Sun Sep 1 15:10:18 PDT 2019
update python package names
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
.../packagegroup/packagegroup-core-security-ptest.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/recipes-security/packagegroup/packagegroup-core-security-ptest.bb b/recipes-security/packagegroup/packagegroup-core-security-ptest.bb
index ddcf208..39873b8 100644
--- a/recipes-security/packagegroup/packagegroup-core-security-ptest.bb
+++ b/recipes-security/packagegroup/packagegroup-core-security-ptest.bb
@@ -3,6 +3,10 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+inherit distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "ptest"
+
PACKAGES = "\
${PN} \
"
@@ -15,7 +19,7 @@ RDEPENDS_${PN} = " \
samhain-standalone-ptest \
keyutils-ptest \
libseccomp-ptest \
- python-scapy-ptest \
+ python3-scapy-ptest \
suricata-ptest \
tripwire-ptest \
python-fail2ban-ptest \
--
2.17.1
More information about the yocto
mailing list