[OE-core] [PATCH 1/1] image.bbclass: depends on virtual/kernel

Qi.Chen at windriver.com Qi.Chen at windriver.com
Fri Nov 22 05:39:02 UTC 2013


From: Chen Qi <Qi.Chen at windriver.com>

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.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta/classes/image.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bc60f0d..ccb6bf3 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -10,7 +10,7 @@ inherit gzipnative
 
 LICENSE = "MIT"
 PACKAGES = ""
-DEPENDS += "${MLPREFIX}qemuwrapper-cross ${MLPREFIX}depmodwrapper-cross"
+DEPENDS += "${MLPREFIX}qemuwrapper-cross ${MLPREFIX}depmodwrapper-cross virtual/kernel"
 RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL}"
 RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}"
 
-- 
1.7.9.5




More information about the Openembedded-core mailing list