diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-04-08 11:30:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-25 17:19:20 +0100 |
commit | 2bef523c08793b363b33d682a790d4d786982512 (patch) | |
tree | c5dcd5bb5422e5d953d21db708b6f1ca61066d24 /meta/recipes-core | |
parent | 20ded0a263333a1eaef7a717cf8d764b47115e68 (diff) | |
download | poky-2bef523c08793b363b33d682a790d4d786982512.tar.gz |
dbus: fix a hard dependency about dbus-ptest
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/dbus/dbus-test_1.6.18.bb (renamed from meta/recipes-core/dbus/dbus-ptest_1.6.18.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus-ptest_1.6.18.bb b/meta/recipes-core/dbus/dbus-test_1.6.18.bb index 9ea0f4d374..9ea0f4d374 100644 --- a/meta/recipes-core/dbus/dbus-ptest_1.6.18.bb +++ b/meta/recipes-core/dbus/dbus-test_1.6.18.bb | |||
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 44ee5a6b89..c7e1e63573 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
@@ -6,9 +6,11 @@ LICENSE = "AFL-2 | GPLv2+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ |
7 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" | 7 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" |
8 | DEPENDS = "expat virtual/libintl" | 8 | DEPENDS = "expat virtual/libintl" |
9 | RDEPENDS_dbus = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest-ptest', '', d)}" | ||
10 | RDEPENDS_dbus_class-native = "" | 9 | RDEPENDS_dbus_class-native = "" |
11 | RDEPENDS_dbus_class-nativesdk = "" | 10 | RDEPENDS_dbus_class-nativesdk = "" |
11 | PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" | ||
12 | ALLOW_EMPTY_dbus-ptest = "1" | ||
13 | RDEPENDS_dbus-ptest_class-target = "dbus-test-ptest" | ||
12 | 14 | ||
13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | 15 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ |
14 | file://tmpdir.patch \ | 16 | file://tmpdir.patch \ |