All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: "Ashfield, Bruce" <bruce.ashfield@windriver.co>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] kernel.bbclass: add kernel-devsrc to kernel-dev's RDEPENDS
Date: Wed, 28 Oct 2015 09:36:02 +0800	[thread overview]
Message-ID: <56302682.5010006@windriver.com> (raw)
In-Reply-To: <CADkTA4PTc-jyJLKzARJftXU2g-jAVBN-_nAdwLdc509Hg7dtyA@mail.gmail.com>

On 10/27/2015 09:46 PM, Bruce Ashfield wrote:
> On Tue, Oct 27, 2015 at 6:45 AM, Hongxu Jia <hongxu.jia@windriver.com> wrote:
>> In kernel-dev package, Nothing in ${KERNEL_SRC_PATH}.
> Honestly, I'd rather leave this as-is for now.
>
> I have a feature/bugzilla (call it what you want) for the 2.1 release to re-work
> the partitioning of these packages.
>
> kernel-dev and devsrc have been like this for a while now, and if someone
> really wants the source on their target, they've been adding devsrc as their
> package.
>
> If the split changes such that kernel-dev doesn't end up bringing the source,
> I'd rather not create another set of users that we need to migrate to some
> new packaging scheme.

OK, so we will wait your re-work, please drop this patch

//Hongxu


> Bruce
>
>> ...
>> $ find packages-split/kernel-dev
>> packages-split/kernel-dev
>> packages-split/kernel-dev/boot
>> packages-split/kernel-dev/boot/System.map-4.1.10-WR8.0.0.0_standard
>> packages-split/kernel-dev/boot/Module.symvers-4.1.10-WR8.0.0.0_standard
>> packages-split/kernel-dev/boot/config-4.1.10-WR8.0.0.0_standard
>> ..
>>
>> And package kernel-devsrc included ${KERNEL_SRC_PATH}, so we add
>> kernel-devsrc to kernel-dev's RDEPENDS
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> ---
>>   meta/classes/kernel.bbclass | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
>> index 5e8b6cf..a07c5c1 100644
>> --- a/meta/classes/kernel.bbclass
>> +++ b/meta/classes/kernel.bbclass
>> @@ -357,7 +357,7 @@ PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev kernel-mod
>>   FILES_${PN} = ""
>>   FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order /lib/modules/${KERNEL_VERSION}/modules.builtin"
>>   FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
>> -FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH} /lib/modules/${KERNEL_VERSION}/build"
>> +FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* /lib/modules/${KERNEL_VERSION}/build"
>>   FILES_kernel-vmlinux = "/boot/vmlinux*"
>>   FILES_kernel-modules = ""
>>   RDEPENDS_kernel = "kernel-base"
>> @@ -368,6 +368,7 @@ PKG_kernel-image = "kernel-image-${@legitimize_package_name('${KERNEL_VERSION}')
>>   RDEPENDS_kernel-image += "${@base_conditional('KERNEL_IMAGETYPE', 'vmlinux', 'kernel-vmlinux', '', d)}"
>>   PKG_kernel-base = "kernel-${@legitimize_package_name('${KERNEL_VERSION}')}"
>>   RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"
>> +RDEPENDS_kernel-dev += "kernel-devsrc"
>>   ALLOW_EMPTY_kernel = "1"
>>   ALLOW_EMPTY_kernel-base = "1"
>>   ALLOW_EMPTY_kernel-image = "1"
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>



      reply	other threads:[~2015-10-28  1:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 10:45 [PATCH 0/1] kernel.bbclass: add kernel-devsrc to kernel-dev's RDEPENDS Hongxu Jia
2015-10-27 10:45 ` [PATCH 1/1] " Hongxu Jia
2015-10-27 13:46   ` Bruce Ashfield
2015-10-28  1:36     ` Hongxu Jia [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=56302682.5010006@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=bruce.ashfield@windriver.co \
    --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.