Hi, Thank you for the answer.
I've tried - by commenting "RDEPENDS_kernel-base ?= "kernel-image"" from kernel.bbclass - and/or adding "RDEPENDS_kernel-base = "" in my image definition But neither worked. For confirmation, this bitbake -e outptut and it doesn't have the kernel-base insop@neon /opt/build-fsl-yocto-1.3.2 $ time bitbake -e fsl-image-min-net2 | grep kernel-base real 0m10.691s user 0m6.476s sys 0m0.844s insop@neon /opt/bui Also, though it was not concluded, I found this mail thread also said that it didn't work http://comments.gmane.org/gmane.linux.embedded.yocto.general/12694 Any other thought? Thank you, Insop On Sun, Jun 23, 2013 at 8:29 PM, 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" > > Cheers, > > Bruce > > > > > >> Thank you, >> >> Insop >> > >
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto