[Openembedded-architecture] Yocto Compatible 2.0 + signature changes

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 9 10:00:35 UTC 2017


On Tue, 2017-05-09 at 11:41 +0200, Patrick Ohly wrote:
> On Tue, 2017-05-09 at 10:17 +0100, Richard Purdie wrote:
> > 
> > On Tue, 2017-05-09 at 11:08 +0200, Patrick Ohly wrote:
> > > 
> > > I've done something similar when enabling Smack. The downside was
> > > that one also wants a corresponding DISTRO_FEATURE, and then both
> > > overrides and DISTRO_FEATURE have to be set consistently. It
> > > isn't
> > > possible to just set the DISTRO_FEATURE and then set the override
> > > based on that automatically, so the traditional way of choosing
> > > distro features no longer works.
> > I'm not saying this is a good idea or that we should do this but I
> > suspect it is at least possible:
> > 
> > DISTROOVERRIDES .= "${@bb.utils.contains('DISTRO_FEATURES',
> > 'refkit-firewall', ':refkit-firewall', '', d)}"
> How does that address the (potential?) cyclic dependency of
> "DISTRO_FEATURES depends on OVERRIDES which depends on
> DISTRO_FEATURES"?

You either set this feature in overrides or in distro_features and the
other is set based on that. You have to choose to make this configured
based on one or the other and if you do that it shouldn't cyclical?

Cheers,

Richard





More information about the Openembedded-architecture mailing list