[OE-core] [PATCH 1/1] image.bbclass: depends on virtual/kernel

Otavio Salvador otavio at ossystems.com.br
Mon Nov 25 12:28:13 UTC 2013


On Mon, Nov 25, 2013 at 10:09 AM, ChenQi <Qi.Chen at windriver.com> wrote:
> On 11/23/2013 06:32 AM, Andrea Adami wrote:
>>
>> On Fri, Nov 22, 2013 at 8:58 PM, Otavio Salvador
>> <otavio at ossystems.com.br> wrote:
>>>
>>> On Fri, Nov 22, 2013 at 3:39 AM,  <Qi.Chen at windriver.com> wrote:
>>>>
>>>> From: Chen Qi <Qi.Chen at windriver.com>
>>>>
>>>> Add 'virtual/kernel' to DEPENDS in image.bbclass so that the kernel
>>>> can get built by default. Otherwise, the kernel will not get built
>>>> unless it's required by other packages like v86d. As a result, if
>>>> we build 'core-image-minimal' for qemumips, the kernel is not built,
>>>> and we have 'bitbake linux-yocto' before we can use runqemu to start
>>>> the target.
>>>>
>>>> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
>>>
>>> If I have a board without modules there's no need to have the depends.
>>> Why you need this?
>>>
>> The first quenstion in my mind when I read the post:
>>
>> Odd...wasn't core-image-minimal purposedly lean, mutilated and without
>> kernel modules ?
>> (Not that really 'used' it, just booted 'cause was small and could
>> always fit on nand/nor)
>
>
> What I want to do here is to trigger building of kernel when building out an
> image. I'm not proposing to make all images have kernel -modules installed.

Yes but you're proposing *all* images to depends on kernel. This is not a need.

>> It has always been like this: if one needs the kernel and the modules
>> can add that in his machine.conf.
>
>
> Previously, the kernel is built out by default because
> packagegroup-core-boot has a dependency on it. Now the dependency is gone.
>
> I'm not talking about installing kernel modules onto images.

and I am not keen to have all image depending on kernel build. Sorry.

Nack!

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list