[yocto] How NOT to include kernel image to the rootfs?

Bruce Ashfield bruce.ashfield at windriver.com
Sun Jun 23 20:29:45 PDT 2013


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"

Cheers,

Bruce




>
> Thank you,
>
> Insop




More information about the yocto mailing list