[oe-commits] [meta-openembedded] 17/32: meta-initramfs: use bb.utils.contains() instead of base_contains()
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 27 08:08:27 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 86cd0c2b45703bda059c0741622fab9d58445230
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