[oe-commits] [meta-openembedded] 19/29: meta-initramfs: use bb.utils.contains() instead of base_contains()

git at git.openembedded.org git at git.openembedded.org
Thu Apr 28 08:39:13 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit dad9a7847f6d03e8da15523925601fca6cc6a947
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Apr 22 20:48:56 2016 +0100

    meta-initramfs: 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 at intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-initramfs/recipes-devtools/dracut/dracut_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
index 5a8c6e8..c978263 100644
--- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
+++ b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
@@ -27,7 +27,7 @@ EXTRA_OECONF = "--prefix=${prefix} \
                "
 
 # RDEPEND on systemd optionally
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
 PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd"
 
 EXTRA_OEMAKE += 'libdir=${prefix}/lib'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list