[OE-core] [PATCH 3/3] binconfig.bbclass: fix multilib file conflicts

Richard Purdie richard.purdie at linuxfoundation.org
Mon Apr 7 11:36:27 UTC 2014


On Mon, 2014-04-07 at 19:27 +0800, Ming Liu wrote:
> In most cases binconfig files conflict among multilib packages, to avoid
> that, use update-alternatives link *-config from real path with a
> PACKAGE_ARCH suffix.
> 
> Signed-off-by: Ming Liu <ming.liu at windriver.com>
> ---
>  meta/classes/binconfig.bbclass | 65 ++++++++++++++++++++++++++++++++++++------
>  1 file changed, 56 insertions(+), 9 deletions(-)

This isn't going in, its complex and supports a minority use case.
binconfig should be dying out, not being extended and shored up like
this.

I'd also add this patch is buggy, its pure luck that update-alternatives
is available at rootfs generation time since its not in a visible
dependency.

So going forward I'd like to see patches which simply delete binconfig
scripts. Where there isn't a .pc alternative we should be adding them
and pushing them upstream.

Cheers,

Richard






More information about the Openembedded-core mailing list