[OE-core] [PATCH V2 1/1] dbus: fix a hard dependency about dbus-ptest

2014-03-18 Thread Chong Lu
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] Signed-off-by: Chong Lu --- meta/recipes-core/dbus/{d

Re: [OE-core] [PATCH V2 1/1] dbus: fix a hard dependency about dbus-ptest

2014-03-18 Thread Burton, Ross
On 18 March 2014 07:11, Chong Lu wrote: > +PACKAGES += "dbus-ptest" This should be conditional on DISTRO_FEATURES containing ptest. > +ALLOW_EMPTY_${PN}-ptest = "1" > +RDEPENDS_dbus-ptest = "dbus-test-ptest" Please be consistent with the use of dbus-ptest and ${PN}-ptest. > +RPROVIDES_dbus-pte

Re: [OE-core] [PATCH V2 1/1] dbus: fix a hard dependency about dbus-ptest

2014-03-18 Thread Paul Eggleton
On Tuesday 18 March 2014 15:15:23 Burton, Ross wrote: > On 18 March 2014 07:11, Chong Lu wrote: > > +PACKAGES += "dbus-ptest" > > This should be conditional on DISTRO_FEATURES containing ptest. > > > +ALLOW_EMPTY_${PN}-ptest = "1" > > +RDEPENDS_dbus-ptest = "dbus-test-ptest" > > Please be consi