diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-22 20:48:49 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-05-02 14:03:03 -0700 |
commit | cf1819332d48d3307aa2e80255834aa7911cd0dc (patch) | |
tree | f09b113c456f713beab1df0d084122eaca59570d /meta-oe/recipes-support/gradm | |
parent | 0e6cc19225103311e5c696618aec3fdaf8a10274 (diff) | |
download | meta-openembedded-cf1819332d48d3307aa2e80255834aa7911cd0dc.tar.gz |
meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gradm')
-rw-r--r-- | meta-oe/recipes-support/gradm/gradm_3.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/gradm/gradm_3.1.bb b/meta-oe/recipes-support/gradm/gradm_3.1.bb index fe36fba58a..252b19de2d 100644 --- a/meta-oe/recipes-support/gradm/gradm_3.1.bb +++ b/meta-oe/recipes-support/gradm/gradm_3.1.bb @@ -9,7 +9,7 @@ HOMEPAGE = "http://grsecurity.net/index.php" SECTION = "admin" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4641e94ec96f98fabc56ff9cc48be14b" -DEPENDS = "flex-native bison-native ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" +DEPENDS = "flex-native bison-native ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" SRC_URI = "http://grsecurity.net/stable/${BP}-201507191652.tar.gz \ file://0001-Makefile-remove-strip.patch" @@ -26,7 +26,7 @@ do_compile() { 'LLEX=${STAGING_BINDIR_NATIVE}/lex' \ 'FLEX=${STAGING_BINDIR_NATIVE}/flex' \ 'BISON=${STAGING_BINDIR_NATIVE}/bison' \ - ${@base_contains('DISTRO_FEATURES', 'pam', ' ', 'nopam', d)} + ${@bb.utils.contains('DISTRO_FEATURES', 'pam', ' ', 'nopam', d)} } do_install() { |