[OE-core] update-alternatives: Fix for compatibility with multilib recipes
Chris Larson
clarson at kergoth.com
Sat Apr 14 22:20:48 UTC 2012
On Sat, Apr 14, 2012 at 10:31 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> def update_alternatives_after_parse(d):
> + if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d):
> + return
> +
Not an issue, but wanted to point out we have a utility function for
this sort of thing, for future reference. bb.utils.inherits(d,
'native', 'nativesdk'), iirc.
--
Christopher Larson
More information about the Openembedded-core
mailing list