All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Leitner <richard.leitner@skidata.com>
To: Wenlin Kang <wenlin.kang@windriver.com>,
	<openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-java][PATCH 2/2] openjdk-8: combine the -dbg package
Date: Tue, 12 Jun 2018 13:09:48 +0200	[thread overview]
Message-ID: <6cf1657d-9202-74a2-7ca8-53285b86eed3@skidata.com> (raw)
In-Reply-To: <32dc8dba-e59c-d86a-140d-f161787cad67@windriver.com>


On 06/12/2018 12:59 PM, Wenlin Kang wrote:
> On 2018年06月12日 16:01, Richard Leitner wrote:
> 
> Hi Richard
> 
>> Hi Wenlin,
>> as we clarified the "one -dbg package per recipe" thing I have some
>> comments on the patch itself.
>>
>>
>> On 06/07/2018 11:24 AM, Wenlin Kang wrote:
>>> One recipe should only have one -dbg package, because OE only picks
>>> up all .debug file into the last one -dbg package listed in variable
>>> PACKAGES.
>> May you please include a reference to that statement from "Ross Burton"?
> 
> What about changing the comments as below:
> 
> openjdk-8: remove redunant FILES_${PN}-dbg
> 
> One recipe should only have one -dbg package, because OE only picks
> up all .debug file into the last one -dbg package listed in variable
> PACKAGES.
> 
> Comments(oe-core's commit a3b000643898d7402b9e57c02e8d10e677cc9722) from
> Ross Burton as below:
> "meta: more removals of redunant FILES_${PN}-dbg
> 
> In some recipes overly-split -dbg packages were merged into PN-dbg. Unless
> there's a very good reason, recipes should have a single -dev and -dbg package.
> "

That's fine with me.

> 
>>
>>> Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
>>> ---
>>>   recipes-core/openjdk/openjdk-8_16xbyy.bb | 10 +++-------
>>>   1 file changed, 3 insertions(+), 7 deletions(-)
>>>
>>> diff --git a/recipes-core/openjdk/openjdk-8_16xbyy.bb b/recipes-core/openjdk/openjdk-8_16xbyy.bb
>>> index dd0ed1d..1d7d794 100644
>>> --- a/recipes-core/openjdk/openjdk-8_16xbyy.bb
>>> +++ b/recipes-core/openjdk/openjdk-8_16xbyy.bb
>>> @@ -14,7 +14,6 @@ do_install() {
>>>   }
>>>     PACKAGES_append = " \
>>> -    ${PN}-demo-dbg \
>>>       ${PN}-demo \
>>>       ${PN}-source \
>>>   "
>>> @@ -47,12 +46,6 @@ FILES_${PN}-dbg_append = "\
>>>       ${JDK_HOME}/jre/lib/${JDK_ARCH}/headless/.debug/ \
>>>       ${JDK_HOME}/jre/lib/${JDK_ARCH}/xawt/.debug/ \
>>>       ${JDK_HOME}/jre/lib/${JDK_ARCH}/client/.debug/ \
>>> -"
>>> -
>>> -FILES_${PN}-demo = " ${JDK_HOME}/demo ${JDK_HOME}/sample "
>>> -RDEPENDS_${PN}-demo = " ${PN} "
>>> -
>>> -FILES_${PN}-demo-dbg = "\
>>>       ${JDK_HOME}/demo/jvmti/gctest/lib/.debug/ \
>>>       ${JDK_HOME}/demo/jvmti/heapTracker/lib/.debug/ \
>>>       ${JDK_HOME}/demo/jvmti/heapViewer/lib/.debug/ \
>>> @@ -64,6 +57,9 @@ FILES_${PN}-demo-dbg = "\
>>>       ${JDK_HOME}/demo/jvmti/compiledMethodLoad/lib/.debug/ \
>>>   "
>> AFAIK as all ".debug" are included in the -dbg packages it should
>> be fine if you remove the whole FILES_${PN}-dbg_append definition.
> 
> I have tested it, that's OK after remove the whole FILES_${PN}-dbg_append definition.
> 
> Do you mean that we should also remove FILES_${PN}-dbg_append?

As there is AFAIK no reason to keep it... Yes please!

thanks&regards;Richard.L


  reply	other threads:[~2018-06-12 11:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07  9:24 [meta-java][PATCH 1/2] openjdk-8: remove debuglink Wenlin Kang
2018-06-07  9:24 ` [meta-java][PATCH 2/2] openjdk-8: combine the -dbg package Wenlin Kang
2018-06-08  7:39   ` Richard Leitner
2018-06-08  9:02     ` Wenlin Kang
2018-06-08  9:10       ` Wenlin Kang
2018-06-08 10:07       ` Richard Leitner
2018-06-11  6:31         ` Robert Yang
2018-06-12  7:59           ` Richard Leitner
2018-06-11  6:49         ` Wenlin Kang
2018-06-12  8:01   ` Richard Leitner
2018-06-12 10:59     ` Wenlin Kang
2018-06-12 11:09       ` Richard Leitner [this message]
2018-06-12 11:14         ` Wenlin Kang
2018-06-12 11:09 ` [meta-java][PATCH 1/2] openjdk-8: remove debuglink Richard Leitner
2018-06-12 11:35   ` Wenlin Kang
2018-06-12 12:02     ` Wenlin Kang
2018-06-12 12:47       ` Richard Leitner
2018-06-13  6:35         ` Wenlin Kang
2018-06-13  6:43           ` Richard Leitner

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=6cf1657d-9202-74a2-7ca8-53285b86eed3@skidata.com \
    --to=richard.leitner@skidata.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=wenlin.kang@windriver.com \
    /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.