[yocto] Prevent zImage to be copied to /boot/ in image

Bruce Ashfield bruce.ashfield at windriver.com
Thu Apr 4 08:53:56 PDT 2013


On 13-04-04 10:55 AM, Christophe Aeschlimann wrote:
>> On 13-04-03 10:56 AM, Christophe Aeschlimann wrote:
>>
>> Have you tried clearing this variable:
>>
>> (from kernel.bbclass)
>>
>> # Allow machines to override this dependency if kernel image files are
>> # not wanted in images as standard
>> RDEPENDS_kernel-base ?= "kernel-image"
>
> Thank you for your answer,
>
> I did that but it still didn't work.
>
> I now found out that it is because I have an out-of-tree kernel module
> in my layer that inherits module.bbclass.
>
> And module.bbclass does the following :
>
> RDEPENDS += "kernel-image update-modules"
>
> Is there a reason why module.bbclass requires kernel-image ?

It shouldn't be required, the image isn't used by the modules at
runtime. In fact, I can see that we've removed the dependency in
master (along with other module build reorganizations).

Cheers,

Bruce

>
> Best regards,
>




More information about the yocto mailing list