On 09/11/2014 05:08 AM, Chiz Chikwendu wrote: > I am new to Openembedded (and yocto). > > I have built an image with poky build environment. > > > > I noticed that the kernel’s bzImage is not included in the rootfs. > > How do I get the system to include “bzImage” in the rootfs (boot/bzImage-)? > > > > I’ve done some research, and I saw a note about setting the parameter: > > RDEPENDS_kernel-base = “zImage” > > > > This should override the kernel settings and build the kernel into the > rootfs. I tried it, however it is not working for me.
Hi Chiz, Which MACHINE are you building for? This is probably something that is set in the machine's BSP, since some hw platforms use bootloaders which look for the kernel in a separate flash disk than the rootfs, so for those devices there's no need to put the kernel in the rootfs. If you're building one of the qemu machine targets, note that in meta/conf/machine/include/qemu.inc there is: # Don't include kernels in standard images RDEPENDS_kernel-base = "" Finally, where are you trying to set RDEPENDS_kernel-base in your example above? I'm assuming in your local.conf file? I believe that should be the place to do it so that it overrides the machine configuration's definition. Finally, make sure you've cleared the build cache for the image generation by running bitbake -c cleanall <image-name> before trying to generate it again. Scott -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
