From: Ming Liu <ming.liu@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] binconfig.bbclass: fix multilib file conflicts
Date: Tue, 8 Apr 2014 10:27:13 +0800 [thread overview]
Message-ID: <53435E81.9060308@windriver.com> (raw)
In-Reply-To: <1396870587.24597.35.camel@ted>
On 04/07/2014 07:36 PM, Richard Purdie wrote:
> 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@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.
Did you mean we'd better remove all *-config scripts, insteaded by
providing .pc files, and send the changes to all upstreams providing and
using *-config? That seems a huge work and we need co-operate with a lot
of projects.
//Ming Liu
>
> Cheers,
>
> Richard
>
>
>
>
>
next prev parent reply other threads:[~2014-04-08 2:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 11:27 [PATCH 1/3] e2fsprogs: fix multilib header conflict - ext2_types.h Ming Liu
2014-04-07 11:27 ` [PATCH 2/3] freetype: fix multilib header conflict - ftconfig.h Ming Liu
2014-04-07 11:27 ` [PATCH 3/3] binconfig.bbclass: fix multilib file conflicts Ming Liu
2014-04-07 11:36 ` Richard Purdie
2014-04-08 2:27 ` Ming Liu [this message]
2014-04-08 10:03 ` Richard Purdie
2014-04-09 6:41 ` Ming Liu
2014-04-09 9:42 ` Richard Purdie
2014-04-09 10:01 ` Ming Liu
2014-04-09 10:07 ` Ming Liu
2014-04-09 12:50 ` Richard Purdie
2014-04-09 10:08 ` Richard Purdie
2014-04-07 19:50 ` [PATCH 1/3] e2fsprogs: fix multilib header conflict - ext2_types.h Khem Raj
2014-04-08 2:04 ` Ming Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53435E81.9060308@windriver.com \
--to=ming.liu@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox