summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus
Commit message (Collapse)AuthorAgeFilesLines
* meta: start to ignore the largefile distro featureAndre McCurdy2017-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | The largefile distro feature has been enabled by default in oe-core for a long time and, more recently, also in poky-tiny. Building without the largefile distro feature receives little or no testing. Many packages now enable LFS without exposing a configure option, so there should be very little expectation that disabling the distro feature will result in a distro which globally disables LFS. Respecting the distro feature adds a maintenance over-head and may be the source of configurations oddities (e.g. dbus-native currently builds with LFS disabled for no clear reason - fixed by this commit). Ignore the largefile distro feature more widely, as a first step towards deprecating and eventually removing it. (From OE-Core rev: a75ccaea77c8aad8d46e87e8ed4af2e2e0ad5327) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-3/+1
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: do not use systemctl from host for configureAndy Kling2017-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | configure.ac from dbus uses $PATH to get the location of systemctl. If it is not found /usr/bin/systemctl is used. It is possible to override the location by passing SYSTEMCTL=[value] to configure. The value is used to replace @SYSTEMCTL@ in systemd-user/dbus.socket.in. dbus.socket sets the environment variable DBUS_SESSION_BUS_ADDRESS using systemctl. dbus does not depend on systemd-systemctl-native, so location from host installation or the default value gets used. Adding systemd-systemctl to the build would give path from sysroot. Forcing SYSTEMCTL=${base_bindir}/systemctl for target gives the correct path there and the environment variable is set after a user session was opened. [YOCTO #11002] (From OE-Core rev: e9471f8da3946439141ccdd8284200aa614df46c) Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: remove pointless cdRoss Burton2017-02-151-1/+0
| | | | | | | | | | | There's no need to cd to the target directory when creating symlinks, so don't. [ YOCTO #10985 ] (From OE-Core rev: 64d75438955c39e01187e897e9df47c93ac6c45a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen2017-01-201-0/+1
| | | | | | | | | | systemctl is needed if both systemd and sysvinit are in distro features. (From OE-Core rev: 39fb37a5143981ae16e722f4ebbbe1b29cbed5a4) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus/dbus-test: upgrade to 1.10.14Chen Qi2017-01-162-4/+4
| | | | | | | | (From OE-Core rev: a196662b49dac6386e21656dcd0b21f37d35dad3) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib 0.106 -> 0.108Zheng Ruoqin2016-12-172-4/+4
| | | | | | | | | | Upgrade dbus-glib from 0.106 to 0.108 (From OE-Core rev: 8111316e0988b8d5a777a5ebda6ed59218d1f3b4) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: enable gtk-docAlexander Kanavin2016-09-091-1/+1
| | | | | | | (From OE-Core rev: c7eb50aa65c6168945a8dacda0c3126b098c3c4f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: 1.10.8 -> 1.10.10Dai Caiyun2016-08-182-4/+4
| | | | | | | | | Upgrade dbus from 1.10.8 to 1.10.10. (From OE-Core rev: e5581343303f2cf8724019c3cbfb92a87045a7f1) Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: backport stdint.h build fixIoan-Adrian Ratiu2016-08-102-0/+39
| | | | | | | | | | | | | This patch fixes an error where dbus configure doesn't detect stdint.h correctly. Upstream commit 1bfde222 on branches dbus-1.10 and master (From OE-Core rev: 5ed0d5a7d9b051a551a6de644bf6a42b87c12471) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus/dbus-test: upgrade to 1.10.8Chen Qi2016-06-233-58/+4
| | | | | | | | | | | 0001-configure.ac-support-large-file-for-stat64.patch is removed as it's a backported patch and is already in the latest codes. (From OE-Core rev: ba0493391207c5e170548a58c49ca593b4d61e08) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: remove unneeded pygobject dependencyAlexander Kanavin2016-06-031-1/+1
| | | | | | | (From OE-Core rev: f0ade81f696c5c4f69db48632e69f2f23aaa3c8f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: install executables not libtool wrapper scriptsRoss Burton2016-05-061-8/+5
| | | | | | | | | | | | | | All of the binaries are linked with libtool now, so install the binaries and not the wrapper scripts. Also remove dbus-1.init from SRC_URI as dbus-test doesn't use it. [ YOCTO #9528 ] (From OE-Core rev: a4b5076b2c06cafff0ce764955d0aa7c334c7a8e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: update large file patchRoss Burton2016-02-181-2/+2
| | | | | | | | | | Upstream has accepted this patch, so update the header and revise the patch to reflect the form that was merged. (From OE-Core rev: 17cdfcb742f989af9af821d4a4517e7068ae5ad9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: 0.104 -> 0.106Maciej Borzecki2016-02-162-4/+4
| | | | | | | | (From OE-Core rev: 355c15fd8cf93ce2db3f2edc6e76c075dd62f7e8) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: add user sessions supportAndrew Shadura2016-02-041-1/+4
| | | | | | | | | | Enable the user-sessions support with a PACKAGECONFIG flag. (From OE-Core rev: f49b43c1a43c92c67c094ccb41d60d41e68394df) Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: use ${systemd_system_unitdir}Andrew Shadura2016-02-041-8/+8
| | | | | | | (From OE-Core rev: 2b2813bd04e5eadac0dab0516af71bc4efc73673) Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: use bash-completion.bbclassGeorge McCollister2016-01-301-4/+3
| | | | | | | | | | Use bash-completion.bbclass to package bash completions. (From OE-Core rev: a88ec53670a311d30d90a919e11a181f5fa77529) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade to 1.10.6Chen Qi2016-01-303-17/+28
| | | | | | | | | | | | | | | | | | | | | Now that systemd doesn't use DBus directly, dbus can --enable-systemd. In fact this appears to be essential for DBus to work on under modern systemd. python-config.patch refreshed. Package dbus-test-tool into PN-dev, and remove obsolete dbus-glib-tool reference. Remove obsolete --without-dbus-glib option, and dependency on dbus-glib in dbus-test. [ patch originally by Chen, tweaked and message rewritten by RB ] (From OE-Core rev: 3cd34c673d2f64e310b474036754e1ead5775d66) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: support large-file for stat64Hongxu Jia2016-01-112-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While starting dbus-daemon on a 32-bit linux host and it invokes fstat to load /etc/dbus-1/system.conf through NFS. If system.conf was created with a large indoe number on 64-bit host. The above fstat invoking failed. Here is the log of strace: ............ $ ls -i /etc/dbus-1/system.conf 53778558109 /etc/dbus-1/system.conf $ strace /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation |open("/etc/dbus-1/system.conf", O_RDONLY) = 4 |fstat64(4, {st_mode=S_IFREG|0644, st_size=3340, ...}) = 0 |close(4) = 0 |close(3) = 0 |write(2, "Failed to start message bus: Fai"..., 109Failed to start message bus: Failed to stat "/etc/dbus-1/system.conf": Value too large for defined data type |) = 109 |exit_group(1) = ? |+++ exited with 1 +++ ............ In this situation, we should support large-file for stat64. Add marco AC_SYS_LARGEFILE to do the detection at configure time. It can be disabled by configuring with the `--disable-largefile' option. [YOCTO: #8863] (From OE-Core rev: 33a7a9b3efafc35ed1409fdfa8ab8f544f1babc3) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: more removals of redunant FILES_${PN}-dbgRoss Burton2015-12-161-1/+1
| | | | | | | | | | In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. (From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-3/+0
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split entries with odd-even versioning into their own recipesAlexander Kanavin2015-12-082-2/+2
| | | | | | | | (From OE-Core rev: 5ddaba1fb833d0408cef5f58f786513b9293c30a) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: merge .bb and .incAndrew Shadura2015-12-012-171/+170
| | | | | | | | | | | | The split is no longer necessary, and only makes it more complicated to do changes in external layers. (From OE-Core rev: aea82066eb3ba67c1d3a170112ff3bb324b43dfb) Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-121-1/+1
| | | | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade to 1.8.20Chen Qi2015-08-013-6/+6
| | | | | | | | (From OE-Core rev: bee8ba766b16d2a7ac7885747b51f08d34bd633d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-ptest: set INSANE_SKIP for build-depsRobert Yang2015-07-161-0/+2
| | | | | | | | | | | | | | | | Skip the warning for dbus-ptest: dbus-1.8.18: dbus-ptest rdepends on dbus-test-ptest, but it isn't a build dependency? [build-deps] We add dbus-test to dbus' DEPENDS to fix the problem usually, but dbus-test DEPENDS on dbus, so we can't do that, use INSANE_SKIP to fix the problem. (From OE-Core rev: 7bf27752cdfcb83a951086d6e5609593c79437c3) (From OE-Core rev: e26e348d7b6301f0e1cb15018ebadfa0eea4013c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Upgrade 1.8.10 -> 1.8.18Jussi Kukkonen2015-06-231-2/+2
| | | | | | | (From OE-Core rev: 1eaca01b652a9fa51fe3ec1db4edcd48778ad7c8) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Upgrade 1.8.16 -> 1.8.18Jussi Kukkonen2015-06-232-4/+4
| | | | | | | (From OE-Core rev: 121af66cdf1cc579e0ed7c68ade3cad321e1edfb) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Fix do_install files outside ${D}Richard Purdie2015-05-121-3/+3
| | | | | | | | | do_install should not access the sysroot directly. Add missing ${D} reference. (From OE-Core rev: 9e246629cf72ff240f56abd775d5412dae2af055) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade to 1.8.16Roy Li2015-05-092-4/+4
| | | | | | | | | Upgrade to fix CVE-2015-0245 (From OE-Core rev: 63054fa28d36e10b4cb09af18374068674f6746b) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: 0.102 -> 0.104Robert Yang2015-04-212-5/+4
| | | | | | | (From OE-Core rev: 746e45aa9d608846b62febf530b9414700627027) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: make do_install run to trigger the effect of cleandirs flagChen Qi2015-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, we would meet the following QA error if we build dbus-test in the same build directory with multilib enabled/disabled. The steps are as follows: 1. Enable multilib and `bitbake dbus-ptest' 2. Disable multilib and `bitbake dbus-ptest' The error message is as follows: ERROR: QA Issue: dbus-test: Files/directories were installed but not shipped /usr/lib64 /usr/lib64/dbus-test /usr/lib64/dbus-test/ptest /usr/lib64/dbus-test/ptest/run-ptest ... The problem is that the ${D} is not cleaned up at the second build while it should be. This patch fixes the above problem. (From OE-Core rev: e76f8c0d79301b3c67029f18e5dd4325a39d4587) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Fix SRC_URI checksum to match dbusRichard Purdie2014-12-211-2/+2
| | | | | | | | | | | | If the system fetches dbus first, everything works and the checksum is correct there. If dbus-test fetches first, the checksum is incorrect and wasn't changed with the version upgrade. Fix the checksum. (From OE-Core rev: a5fc201961e62cf5d9088b6d66bb2d50aa84109d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: don't use PTEST_ENABLED as recipe doesn't inherit ptestRoss Burton2014-12-051-1/+1
| | | | | | | | | | | As this recipe's ptest support is merely a shim to pull in dbus-test-ptest it doesn't inherit ptest. This means that PTEST_ENABLED isn't ever set, so check DISTRO_FEATURES directly. (From OE-Core rev: 7ee1da8126f1d4957e533cc26696e85c5a6de4bb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: Upgrade to 0.102Chong Lu2014-12-036-45/+38
| | | | | | | | | Remove obsolete_automake_macros.patch, since upstream has merged it. (From OE-Core rev: 5873734b21735f9fb598c7d8e67ce8cef9ddb39c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: Upgrade to 1.8.10Chong Lu2014-12-031-0/+0
| | | | | | | (From OE-Core rev: 640b4274ee5653bb107a7ff043c33dc6392f9cfb) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Upgrade to 1.8.10Chong Lu2014-12-032-4/+4
| | | | | | | (From OE-Core rev: 55b909021dc3e383cd28392c8ca39eee7f27a583) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: fix incorrect checksumChong Lu2014-06-241-2/+2
| | | | | | | | | Modify checksum to match new version. (From OE-Core rev: 6ba9162c5facc2078d3818b18e628e2a75d9ca26) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: don't override EXTRA_OECONFRobert Yang2014-06-181-1/+1
| | | | | | | | | | We need use EXTRA_OECONF_append_class-native rather than EXTRA_OECONF_class-native. (From OE-Core rev: 5e1560b98680c79c979b8f9325f9f9997f9fd438) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10Robert Yang2014-06-171-0/+2
| | | | | | | | | | | | | | Found this error on CentOS 5.10, other distros may also has this problem, I think that we can disable the selinux for dbus-native: bus/selinux.c:327: error: array type has incomplete element type [YOCTO #6374] (From OE-Core rev: 7a2d2d81d8694806060f7bccfbdba42dc356d477) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: fixed mode if systemd service fileEnrico Scholz2014-06-131-1/+1
| | | | | | | | | | | | | | systemd complains with | Configuration file /lib/systemd/system/dbus.socket is marked executable. Please remove executable permission bits. Proceeding anyway. | Configuration file /lib/systemd/system/dbus.service is marked executable. Please remove executable permission bits. Proceeding anyway. else. (From OE-Core rev: 67e966c2576b360ee132989bee32d3080305a099) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: disable usage of dbus-glib explicitlyEnrico Scholz2014-06-131-1/+2
| | | | | | | | | | | | | | | | | | | | on rebuilds, dbus-native can detect an already existing dbus-glib and tries to link some tests against it. As files were unstaged and due to libtool insanities this fails with: | /usr/bin/grep: .../sysroots/x86_64-oe-linux/usr/lib/libdbus-1.la: No such file or directory | sed: can't read .../sysroots/x86_64-oe-linux/usr/lib/libdbus-1.la: No such file or directory | x86_64-oe-linux-libtool: link: `.../sysroots/x86_64-oe-linux/usr/lib/libdbus-1.la' is not a valid libtool archive | make[3]: *** [libdbus-testutils.la] Error 1 | make[3]: Leaving directory `.../work/x86_64-oe-linux/dbus-native/1.8.2-r0/build/test' Make builds predicatable (and working) by disabling usage of dbus-glib explicitly. (From OE-Core rev: 0eeeb40d2af99448c3b94047f26d33a9983a221b) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Update to 1.8.2 versionChong Lu2014-05-158-404/+34
| | | | | | | | | | | | | | | | | Upgrade dbus to 1.8.2. Modify ptest suite to make it enabled on new version. If systemd in DISTRO_FEATURES, we expect to install dbus systemd unit files. Remove unneeded patches since it's included in new version. Remove unrecognized option: "--with-xml" [YOCTO #6092] (From OE-Core rev: 596470547451084944082cbed50351ad0d912255) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: remove usage of FILESPATHPetter Mabäcker2014-05-131-1/+1
| | | | | | | | | | | | Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. (From OE-Core rev: 435dc012734669889b12e7bbd5364e24bbace098) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: Work from PTEST_ENABLED, not DISTRO_FEATURESRichard Purdie2014-05-081-1/+1
| | | | | | | | | | | | | Some classes of recipe disable ptest even though its in DISTRO_FEATURES (e.g. nativesdk). We shouldn't attempt to build ptest packages when its disabled. This replaces some DISTRO_FEATURE checks with PTEST_ENABLED checks instead. (From OE-Core rev: 8b14fcc62f31bbbb231790136cdb984db96d9ba9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: fix a hard dependency about dbus-ptestChong Lu2014-04-252-1/+3
| | | | | | | | | | | | | | | If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This issue will increase size for most small images. This patch fixes this problem. [YOCTO #5702] (From OE-Core rev: 0416583f014138656babdf78a574357ae5ff25bd) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-252-6/+6
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace oe.utils.contains to bb.utils.containsOtavio Salvador2014-04-251-1/+1
| | | | | | | | | | | BitBake has the exact same code as oe.utils.contains so there's no reason to duplicate it. We now rely on the bb.utils.contains code for metadata. (From OE-Core rev: 93499ebc46547f5bf6dcecd5a786ead9f726de28) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: backport memory leak patch for error when listing servicesJonathan Liu2014-04-042-0/+46
| | | | | | | | (From OE-Core rev: a09a4e60a454b60c6d6e1e28fb4dda88fce9ae7d) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>