aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Perrot <thomas.perrot@tupi.fr>2016-05-25 10:24:38 +0200
committerArmin Kuster <akuster808@gmail.com>2016-05-25 18:49:13 -0700
commit2a1f79040be637a8ebd3f4a22c13a85d8b09dcf1 (patch)
tree64b1fa3398aff50b013523a1f1509e2fae1b4eea
parent8511a96b26bed899db7472d41e04cbe092a2ec26 (diff)
downloadmeta-security-2a1f79040be637a8ebd3f4a22c13a85d8b09dcf1.tar.gz
meta-security-2a1f79040be637a8ebd3f4a22c13a85d8b09dcf1.tar.bz2
meta-security-2a1f79040be637a8ebd3f4a22c13a85d8b09dcf1.zip
Use bb.utils.contains instead of base_contains because it is deprecated
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-yocto_4.1.bbappend8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-kernel/linux/linux-yocto_4.1.bbappend b/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 1043d5c..dc90e31 100644
--- a/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -2,8 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
# Tomoyo kernel support
SRC_URI += "\
- ${@base_contains('DISTRO_FEATURES', 'tomoyo', ' file://ccs-tools-yocto.4.1.patch', '', d)} \
- ${@base_contains('DISTRO_FEATURES', 'tomoyo', ' file://ccs-tools-yocto_security.patch', '', d)} \
- ${@base_contains('DISTRO_FEATURES', 'tomoyo', ' file://tomoyo.cfg', '', d)} \
- ${@base_contains('DISTRO_FEATURES', 'tomoyo', ' file://tomoyo.scc', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'tomoyo', ' file://ccs-tools-yocto.4.1.patch', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'tomoyo', ' file://ccs-tools-yocto_security.patch', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'tomoyo', ' file://tomoyo.cfg', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'tomoyo', ' file://tomoyo.scc', '', d)} \
"