On Mon, Jun 24, 2013 at 5:29 AM, Bruce Ashfield <
bruce.ashfi...@windriver.com> wrote:

> On 13-06-23 7:08 PM, Insop Song wrote:
>
>> Hi,
>>
>> - Question
>> "How NOT to include kernel image to the rootfs?"
>>
>> - Background
>> In our application, we use u-boot to load kernel and rootfs from nand
>> flash separately.
>>
>> I don't want to include kernel image inside /boot as I don't need it
>> over there.
>> I could untar the rootfs, remove, and tar it up again, but I would like
>> to find a way within the yocto framework.
>>
>> I was not able to find a way by looking up the recipies and googling on
>> this topic.
>>
>> Could any one help me?
>>
>
> Have you tried clearing RDEPENDS_kernel-base ?
>
> 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"
>


please look at this machine configuration file that we use at Linaro:

https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=blob;f=meta-linaro/conf/machine/genericarmv7a.conf;h=d2577f69868d599f114063a7c6a3d8d0a93c532b;hb=c383e63617469dce76411249dba384aad21a3d9c

we use such 'generic' machines to build our 'generic' ARM rootfs. the trick
is indeed:


# Don't include kernels in standard images
RDEPENDS_kernel-base = ""




>
> Cheers,
>
> Bruce
>
>
>
>
>
>> Thank you,
>>
>> Insop
>>
>
> ______________________________**_________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>
>
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to