diff options
| author | Ross Burton <ross.burton@intel.com> | 2016-04-22 20:48:49 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-04-28 10:38:38 +0200 |
| commit | 21f10c11f39020f9502d741c774a12d1aeb39499 (patch) | |
| tree | fdc66c039950da89d82b6b7405ebfc50cbba693a /meta-oe/recipes-extended | |
| parent | 723b55f5c1f7df21dbcfa7cb2dcaecb10d886041 (diff) | |
| download | meta-openembedded-21f10c11f39020f9502d741c774a12d1aeb39499.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>
Diffstat (limited to 'meta-oe/recipes-extended')
11 files changed, 20 insertions, 20 deletions
diff --git a/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb b/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb index 08c0893854..508277e765 100644 --- a/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb +++ b/meta-oe/recipes-extended/corosync/corosync_2.3.5.bb | |||
| @@ -41,7 +41,7 @@ do_install_append() { | |||
| 41 | install -m 0644 ${S}/init/corosync.in ${D}${sysconfdir}/init.d/corosync | 41 | install -m 0644 ${S}/init/corosync.in ${D}${sysconfdir}/init.d/corosync |
| 42 | install -m 0644 ${S}/init/corosync-notifyd.in ${D}${sysconfdir}/init.d/corosync-notifyd | 42 | install -m 0644 ${S}/init/corosync-notifyd.in ${D}${sysconfdir}/init.d/corosync-notifyd |
| 43 | 43 | ||
| 44 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 44 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 45 | install -d ${D}${systemd_unitdir}/system | 45 | install -d ${D}${systemd_unitdir}/system |
| 46 | install -m 0644 ${S}/init/corosync.service.in ${D}${systemd_unitdir}/system/corosync.service | 46 | install -m 0644 ${S}/init/corosync.service.in ${D}${systemd_unitdir}/system/corosync.service |
| 47 | install -m 0644 ${S}/init/corosync-notifyd.service.in ${D}${systemd_unitdir}/system/corosync-notifyd.service | 47 | install -m 0644 ${S}/init/corosync-notifyd.service.in ${D}${systemd_unitdir}/system/corosync-notifyd.service |
diff --git a/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb b/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb index 560630c74b..ff37305639 100644 --- a/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb +++ b/meta-oe/recipes-extended/dlm/dlm_4.0.2.bb | |||
| @@ -37,7 +37,7 @@ do_install_append (){ | |||
| 37 | install -m 0644 ${S}/init/dlm.init ${D}${sysconfdir}/init.d/dlm | 37 | install -m 0644 ${S}/init/dlm.init ${D}${sysconfdir}/init.d/dlm |
| 38 | 38 | ||
| 39 | # install systemd unit files | 39 | # install systemd unit files |
| 40 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 40 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 41 | install -d ${D}${systemd_unitdir}/system | 41 | install -d ${D}${systemd_unitdir}/system |
| 42 | install -m 0644 ${S}/init/dlm.service ${D}${systemd_unitdir}/system | 42 | install -m 0644 ${S}/init/dlm.service ${D}${systemd_unitdir}/system |
| 43 | fi | 43 | fi |
diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb index 2582a77437..9b2ace9c41 100644 --- a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb +++ b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb | |||
| @@ -16,7 +16,7 @@ SRCREV = "460e6421c16a8216d29ccd1b7490f814dab8b769" | |||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | 17 | ||
| 18 | inherit native cmake | 18 | inherit native cmake |
| 19 | LDFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 19 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
| 20 | 20 | ||
| 21 | EXTRA_OECMAKE = "-DWITH_PYTHON=ON \ | 21 | EXTRA_OECMAKE = "-DWITH_PYTHON=ON \ |
| 22 | ${@base_conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \ | 22 | ${@base_conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \ |
diff --git a/meta-oe/recipes-extended/lcdproc/lcdproc_0.5.6.bb b/meta-oe/recipes-extended/lcdproc/lcdproc_0.5.6.bb index 4761ef7e9b..f57e9dfc6f 100644 --- a/meta-oe/recipes-extended/lcdproc/lcdproc_0.5.6.bb +++ b/meta-oe/recipes-extended/lcdproc/lcdproc_0.5.6.bb | |||
| @@ -7,7 +7,7 @@ PACKAGECONFIG ?= "" | |||
| 7 | PACKAGECONFIG[g15] = ",,libg15 g15daemon libg15render," | 7 | PACKAGECONFIG[g15] = ",,libg15 g15daemon libg15render," |
| 8 | PACKAGECONFIG[hid] = "--enable-libhid,--disable-libhid,libhid" | 8 | PACKAGECONFIG[hid] = "--enable-libhid,--disable-libhid,libhid" |
| 9 | 9 | ||
| 10 | LCD_DRIVERS_append = "${@base_contains('PACKAGECONFIG', 'g15', '', ',!g15', d)}" | 10 | LCD_DRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'g15', '', ',!g15', d)}" |
| 11 | 11 | ||
| 12 | do_install_append () { | 12 | do_install_append () { |
| 13 | # binaries | 13 | # binaries |
diff --git a/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb b/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb index f74fb7781a..6048888740 100644 --- a/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb +++ b/meta-oe/recipes-extended/openlmi/openlmi-providers_0.6.0.bb | |||
| @@ -17,7 +17,7 @@ SRC_URI[md5sum] = "5904f23cf494946237cfbbdbe644a3cd" | |||
| 17 | SRC_URI[sha256sum] = "e2b2fbeaec45a83905d0da3b87da83904d9cd94c1b86312f844587b3fff11f56" | 17 | SRC_URI[sha256sum] = "e2b2fbeaec45a83905d0da3b87da83904d9cd94c1b86312f844587b3fff11f56" |
| 18 | 18 | ||
| 19 | inherit cmake | 19 | inherit cmake |
| 20 | LDFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 20 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
| 21 | EXTRA_OECMAKE = " \ | 21 | EXTRA_OECMAKE = " \ |
| 22 | -DWITH-DEVASSISTANT=OFF \ | 22 | -DWITH-DEVASSISTANT=OFF \ |
| 23 | -DWITH-JOURNALD=OFF \ | 23 | -DWITH-JOURNALD=OFF \ |
diff --git a/meta-oe/recipes-extended/openwsman/openwsman_2.6.2.bb b/meta-oe/recipes-extended/openwsman/openwsman_2.6.2.bb index bdb7ced17c..52b271c114 100644 --- a/meta-oe/recipes-extended/openwsman/openwsman_2.6.2.bb +++ b/meta-oe/recipes-extended/openwsman/openwsman_2.6.2.bb | |||
| @@ -29,7 +29,7 @@ inherit systemd cmake pkgconfig pythonnative perlnative | |||
| 29 | SYSTEMD_SERVICE_${PN} = "openwsmand.service" | 29 | SYSTEMD_SERVICE_${PN} = "openwsmand.service" |
| 30 | SYSTEMD_AUTO_ENABLE = "disable" | 30 | SYSTEMD_AUTO_ENABLE = "disable" |
| 31 | 31 | ||
| 32 | LDFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd ", '', d)}" | 32 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd ", '', d)}" |
| 33 | 33 | ||
| 34 | EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \ | 34 | EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \ |
| 35 | -DBUILD_LIBCIM=NO \ | 35 | -DBUILD_LIBCIM=NO \ |
| @@ -50,7 +50,7 @@ do_install_append() { | |||
| 50 | install -m 755 ${B}/etc/init/openwsmand.sh ${D}/${sysconfdir}/init.d/openwsmand | 50 | install -m 755 ${B}/etc/init/openwsmand.sh ${D}/${sysconfdir}/init.d/openwsmand |
| 51 | ln -sf ${sysconfdir}/init.d/openwsmand ${D}/${sbindir}/rcopenwsmand | 51 | ln -sf ${sysconfdir}/init.d/openwsmand ${D}/${sbindir}/rcopenwsmand |
| 52 | chmod 755 ${D}/${sysconfdir}/openwsman/owsmangencert.sh | 52 | chmod 755 ${D}/${sysconfdir}/openwsman/owsmangencert.sh |
| 53 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 53 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 54 | install -d ${D}/${systemd_unitdir}/system | 54 | install -d ${D}/${systemd_unitdir}/system |
| 55 | install -m 644 ${WORKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system | 55 | install -m 644 ${WORKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system |
| 56 | 56 | ||
diff --git a/meta-oe/recipes-extended/polkit/polkit_0.113.bb b/meta-oe/recipes-extended/polkit/polkit_0.113.bb index aab4f549dc..fdd198a61d 100644 --- a/meta-oe/recipes-extended/polkit/polkit_0.113.bb +++ b/meta-oe/recipes-extended/polkit/polkit_0.113.bb | |||
| @@ -9,8 +9,8 @@ DEPENDS = "expat glib-2.0 intltool-native mozjs" | |||
| 9 | 9 | ||
| 10 | inherit autotools gtk-doc pkgconfig useradd systemd gobject-introspection | 10 | inherit autotools gtk-doc pkgconfig useradd systemd gobject-introspection |
| 11 | 11 | ||
| 12 | PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | 12 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
| 13 | ${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" | 13 | ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}" |
| 14 | 14 | ||
| 15 | PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam" | 15 | PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam" |
| 16 | PACKAGECONFIG[systemd] = "--enable-libsystemd-login=yes --with-systemdsystemunitdir=${systemd_unitdir}/system/,--enable-libsystemd-login=no --with-systemdsystemunitdir=,systemd" | 16 | PACKAGECONFIG[systemd] = "--enable-libsystemd-login=yes --with-systemdsystemunitdir=${systemd_unitdir}/system/,--enable-libsystemd-login=no --with-systemdsystemunitdir=,systemd" |
| @@ -20,7 +20,7 @@ PACKAGECONFIG[consolekit] = ",,,consolekit" | |||
| 20 | PAM_SRC_URI = "file://polkit-1_pam.patch" | 20 | PAM_SRC_URI = "file://polkit-1_pam.patch" |
| 21 | SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \ | 21 | SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \ |
| 22 | file://0001-make-netgroup-support-configurable.patch \ | 22 | file://0001-make-netgroup-support-configurable.patch \ |
| 23 | ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ | 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ |
| 24 | " | 24 | " |
| 25 | SRC_URI[md5sum] = "4b77776c9e4f897dcfe03b2c34198edf" | 25 | SRC_URI[md5sum] = "4b77776c9e4f897dcfe03b2c34198edf" |
| 26 | SRC_URI[sha256sum] = "e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81" | 26 | SRC_URI[sha256sum] = "e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81" |
diff --git a/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb b/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb index 8cc4aaa58c..a1121686cb 100644 --- a/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb +++ b/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb | |||
| @@ -38,13 +38,13 @@ do_install() { | |||
| 38 | install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8 | 38 | install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8 |
| 39 | install -m 644 ${WORKDIR}/ethers.sample ${D}${sysconfdir}/ethers | 39 | install -m 644 ${WORKDIR}/ethers.sample ${D}${sysconfdir}/ethers |
| 40 | 40 | ||
| 41 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 41 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 42 | install -d ${D}${systemd_unitdir}/system | 42 | install -d ${D}${systemd_unitdir}/system |
| 43 | install -m 0644 ${WORKDIR}/rarpd.service ${D}${systemd_unitdir}/system/ | 43 | install -m 0644 ${WORKDIR}/rarpd.service ${D}${systemd_unitdir}/system/ |
| 44 | fi | 44 | fi |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | inherit ${@base_contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','',d)} | 47 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','',d)} |
| 48 | 48 | ||
| 49 | SYSTEMD_PACKAGES = "${PN}" | 49 | SYSTEMD_PACKAGES = "${PN}" |
| 50 | SYSTEMD_SERVICE_${PN} = "rarpd.service" | 50 | SYSTEMD_SERVICE_${PN} = "rarpd.service" |
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_7.6.1.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_7.6.1.bb index 0f6b6cfe7e..c1d923c75e 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog_7.6.1.bb +++ b/meta-oe/recipes-extended/rsyslog/rsyslog_7.6.1.bb | |||
| @@ -41,9 +41,9 @@ EXTRA_OECONF += "--enable-cached-man-pages" | |||
| 41 | PACKAGECONFIG ??= " \ | 41 | PACKAGECONFIG ??= " \ |
| 42 | zlib rsyslogd rsyslogrt klog inet regexp uuid libgcrypt \ | 42 | zlib rsyslogd rsyslogrt klog inet regexp uuid libgcrypt \ |
| 43 | imdiag gnutls imfile \ | 43 | imdiag gnutls imfile \ |
| 44 | ${@base_contains('DISTRO_FEATURES', 'snmp', 'snmp', '', d)} \ | 44 | ${@bb.utils.contains('DISTRO_FEATURES', 'snmp', 'snmp', '', d)} \ |
| 45 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |
| 46 | ${@base_contains('DISTRO_FEATURES', 'ptest', 'testbench ${VALGRIND}', '', d)} \ | 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'testbench ${VALGRIND}', '', d)} \ |
| 47 | " | 47 | " |
| 48 | 48 | ||
| 49 | # default yes in configure | 49 | # default yes in configure |
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb index efd4295c8a..ed5382e39f 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | |||
| @@ -25,13 +25,13 @@ SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" | |||
| 25 | SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" | 25 | SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" |
| 26 | 26 | ||
| 27 | inherit autotools | 27 | inherit autotools |
| 28 | inherit ${@base_contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} | 28 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} |
| 29 | 29 | ||
| 30 | SYSTEMD_PACKAGES = "${PN}" | 30 | SYSTEMD_PACKAGES = "${PN}" |
| 31 | SYSTEMD_SERVICE_${PN} = "sblim-sfcb.service" | 31 | SYSTEMD_SERVICE_${PN} = "sblim-sfcb.service" |
| 32 | SYSTEMD_AUTO_ENABLE = "enable" | 32 | SYSTEMD_AUTO_ENABLE = "enable" |
| 33 | 33 | ||
| 34 | LDFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 34 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
| 35 | 35 | ||
| 36 | EXTRA_OECONF = '--enable-debug \ | 36 | EXTRA_OECONF = '--enable-debug \ |
| 37 | --enable-ssl \ | 37 | --enable-ssl \ |
| @@ -50,7 +50,7 @@ do_install() { | |||
| 50 | 50 | ||
| 51 | oe_runmake DESTDIR=${D} install | 51 | oe_runmake DESTDIR=${D} install |
| 52 | 52 | ||
| 53 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 53 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 54 | install -d ${D}${systemd_unitdir}/system | 54 | install -d ${D}${systemd_unitdir}/system |
| 55 | install -m 0644 ${WORKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service | 55 | install -m 0644 ${WORKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service |
| 56 | fi | 56 | fi |
diff --git a/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb b/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb index 4e5187610f..86e6d9ee61 100644 --- a/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb +++ b/meta-oe/recipes-extended/smartmontools/smartmontools_6.4.bb | |||
| @@ -18,8 +18,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \ | |||
| 18 | file://smartd.service \ | 18 | file://smartd.service \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'libcap-ng', 'libcap-ng', '', d)} \ | 21 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libcap-ng', 'libcap-ng', '', d)} \ |
| 22 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ |
| 23 | " | 23 | " |
| 24 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng" | 24 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng" |
| 25 | PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux" | 25 | PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux" |
