From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>,
Phil Blundell <pb@pbcl.net>
Subject: Re: [PATCH] eglibc-locale: fix localedef packaging
Date: Thu, 30 Jun 2011 08:53:31 -0700 [thread overview]
Message-ID: <4E0C9BFB.3070906@linux.intel.com> (raw)
In-Reply-To: <1309445640.20015.444.camel@rex>
On 06/30/2011 07:54 AM, Richard Purdie wrote:
> On Thu, 2011-06-30 at 12:17 +0100, Phil Blundell wrote:
>> On Wed, 2011-06-29 at 14:49 +0100, Richard Purdie wrote:
>>> I'd love to see a patch for this! :)
>>
>> Your wish, naturally, is my command. I've built micro-base-image with
>> this and verified that I didn't get any false positives; I also checked
>> (via some manual fiddling) that it did indeed detect the case that we
>> want it to.
>>
>> I guess it might be a good idea for someone to test it with a slightly
>> larger dataset before actually checking it in, just in case.
>
> Thanks, I'll let Saul try this against a wider build and assuming it
> doesn't throw out too many issues we can get it merged.
>
Phil,
Can I get this as a proper patch email with a clean header, I will start
testing with below.
Thanks
Sau!
> Cheers,
>
> Richard
>
>> p.
>>
>> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
>> index 35809b9..f7e5524 100644
>> --- a/meta/classes/insane.bbclass
>> +++ b/meta/classes/insane.bbclass
>> @@ -103,6 +103,7 @@ def package_qa_get_machine_dict():
>> # 8 - .la contains reference to the workdir
>> # 9 - LDFLAGS ignored
>> # 10 - Build paths in binaries
>> +# 11 - package depends on devel package
>>
>> def package_qa_clean_path(path,d):
>> """ Remove the common prefix from the path. In this case it is the TMPDIR"""
>> @@ -134,6 +135,7 @@ def package_qa_write_error(error_class, name, path, d):
>> ".la contains reference to the workdir",
>> "LDFLAGS ignored",
>> "package contains reference to tmpdir paths",
>> + "package depends on devel package",
>> ]
>>
>> log_path = os.path.join( bb.data.getVar('T', d, True), "log.qa_package" )
>> @@ -493,12 +495,14 @@ def package_qa_check_rdepends(pkg, pkgdest, d):
>> # Now check the RDEPENDS
>> rdepends = bb.utils.explode_deps(bb.data.getVar('RDEPENDS', localdata, True) or "")
>>
>> -
>> # Now do the sanity check!!!
>> for rdepend in rdepends:
>> if "-dbg" in rdepend:
>> error_msg = "%s rdepends on %s" % (pkgname,rdepend)
>> sane = package_qa_handle_error(2, error_msg, pkgname, rdepend, d)
>> + if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"):
>> + error_msg = "%s rdepends on %s" % (pkgname, rdepend)
>> + sane = package_qa_handle_error(11, error_msg, pkgname, rdepend, d)
>>
>> return sane
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
next prev parent reply other threads:[~2011-06-30 15:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 15:30 [PATCH] eglibc-locale: fix localedef packaging Koen Kooi
2011-06-28 16:11 ` Richard Purdie
2011-06-28 20:32 ` Koen Kooi
2011-06-29 13:36 ` Phil Blundell
2011-06-29 13:49 ` Richard Purdie
2011-06-30 11:17 ` Phil Blundell
2011-06-30 11:24 ` Koen Kooi
2011-06-30 13:04 ` Phil Blundell
2011-06-30 13:40 ` Koen Kooi
2011-06-30 14:54 ` Richard Purdie
2011-06-30 14:54 ` Richard Purdie
2011-06-30 15:53 ` Saul Wold [this message]
2011-07-05 13:05 ` Richard Purdie
2011-06-29 22:31 ` Koen Kooi
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=4E0C9BFB.3070906@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pb@pbcl.net \
/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