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

Paul Eggleton paul.eggleton at linux.intel.com
Thu Mar 13 10:48:26 UTC 2014


On Thursday 13 March 2014 10:01:10 Paul Eggleton wrote:
> On Thursday 13 March 2014 17:54:03 Chong Lu wrote:
> > On 03/06/2014 06:04 PM, Burton, Ross wrote:
> > > On 6 March 2014 08:06, Chong Lu <Chong.Lu at windriver.com> wrote:
> > >> +PACKAGES += "dbus-ptest"
> > >> +ALLOW_EMPTY_${PN}-ptest = "1"
> > >> +RDEPENDS_${PN}-ptest = "${@base_contains('IMAGE_FEATURES',
> > >> 'ptest-pkgs',
> > >> 'dbus-test-ptest', 'dbus-test', d)}"
> > > 
> > > Clearly I wasn't thinking clearly last week.  You can't check
> > > IMAGE_FEATURES in a non-image recipe so this isn't a good solution.
> > 
> > Do you have any suggestion about this issue?
> > If we don't check IMAGE_FEATURES, I have no way to resolve this problem
> > that only build but not install ptest. I'm very confused.
> 
> This should check DISTRO_FEATURES, not IMAGE_FEATURES.

Actually even a check on DISTRO_FEATURES may not be needed; if ${PN}-ptest is 
not in PACKAGES then RDEPENDS_${PN}-ptest should be ignored completely.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list