From: Wenlin Kang <wenlin.kang@windriver.com>
To: Richard Leitner <richard.leitner@skidata.com>,
<openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-java][PATCH 2/2] openjdk-8: combine the -dbg package
Date: Tue, 12 Jun 2018 19:14:29 +0800 [thread overview]
Message-ID: <fa481b31-296d-894e-e359-69485cd95d67@windriver.com> (raw)
In-Reply-To: <6cf1657d-9202-74a2-7ca8-53285b86eed3@skidata.com>
On 2018年06月12日 19:09, Richard Leitner wrote:
> 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, later I will send the new patch.
>
> thanks®ards;Richard.L
>
--
Thanks,
Wenlin Kang
next prev parent reply other threads:[~2018-06-12 11:15 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
2018-06-12 11:14 ` Wenlin Kang [this message]
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=fa481b31-296d-894e-e359-69485cd95d67@windriver.com \
--to=wenlin.kang@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=richard.leitner@skidata.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox