On Fri, 2013-11-22 at 13:39 +0800, [email protected] wrote: > Add 'virtual/kernel' to DEPENDS in image.bbclass so that the kernel > can get built by default. Otherwise, the kernel will not get built > unless it's required by other packages like v86d. As a result, if > we build 'core-image-minimal' for qemumips, the kernel is not built, > and we have 'bitbake linux-yocto' before we can use runqemu to start > the target.
Not all images do actually need a kernel, and this will cause a dependency loop for old-style initramfs images that are dependencies of virtual/kernel itself. If you just want to ensure that the kernel is available at deployment time, perhaps you could make virtual/kernel be a dependency of do_deploy specifically (rather than do_configure as you have it here). Alternatively, if this is a specific problem for core-image-minimal, maybe the virtual/kernel dependency should just go in there. p. _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
