All of lore.kernel.org
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [dizzy][PATCH] package.bbclass: Fix support for private libs
Date: Thu, 29 Jan 2015 13:13:12 -0800	[thread overview]
Message-ID: <54CAA268.80207@gmail.com> (raw)
In-Reply-To: <20150129124118.GA2443@jama>

thanks for the reminder. I have pulled into my staging work.

-armin

On 01/29/2015 04:41 AM, Martin Jansa wrote:
> On Sun, Jan 18, 2015 at 05:12:13PM +0100, Martin Jansa wrote:
>> * n is a tuple since this commit:
>>    commit d3aa7668a9f001044d0a0f1ba2de425a36056102
>>    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
>>    Date:   Mon Jul 7 18:41:23 2014 +0100
>>    Subject package.bbclass: Improve shlibs needed data structure
>>
>>    since then 'n in private_libs' was always false and private libs
>>    were always processed
>> * this is bad when we have libfoo in private libs, but also some package
>>    providing libfoo, that way we ship own libfoo.so, but together with
>>    runtime dependency on package providing libfoo
>
> ping
>
>>
>> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
>> ---
>>   meta/classes/package.bbclass | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
>> index 96d7fd9..4685cd2 100644
>> --- a/meta/classes/package.bbclass
>> +++ b/meta/classes/package.bbclass
>> @@ -1572,7 +1572,7 @@ python package_do_shlibs() {
>>               # /opt/abc/lib/libfoo.so.1 and contains /usr/bin/abc depending on system library libfoo.so.1
>>               # but skipping it is still better alternative than providing own
>>               # version and then adding runtime dependency for the same system library
>> -            if private_libs and n in private_libs:
>> +            if private_libs and n[0] in private_libs:
>>                   bb.debug(2, '%s: Dependency %s covered by PRIVATE_LIBS' % (pkg, n[0]))
>>                   continue
>>               if n[0] in shlib_provider.keys():
>> --
>> 2.2.1
>>
>
>
>


      reply	other threads:[~2015-01-29 21:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-18 16:12 [dizzy][PATCH] package.bbclass: Fix support for private libs Martin Jansa
2015-01-29 12:41 ` Martin Jansa
2015-01-29 21:13   ` akuster808 [this message]

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=54CAA268.80207@gmail.com \
    --to=akuster808@gmail.com \
    --cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.