[oe-commits] Richard Purdie : image.bbclass: Depend on virtual/kernel:do_deploy

git at git.openembedded.org git at git.openembedded.org
Sun Feb 9 11:01:49 UTC 2014


Module: openembedded-core.git
Branch: dora
Commit: 444a8a0b235c0c48685fe84f0c37031906d03921
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=444a8a0b235c0c48685fe84f0c37031906d03921

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Nov 29 14:36:42 2013 +0000

image.bbclass: Depend on virtual/kernel:do_deploy

Now that none of the packagegroups depend on virtual/kernel, we have the problem
that MACHINE=qemumips bitbake core-image-minimal doesn't put a kernel
into the deploy directory. This breaks many common usecases and
user expectations.

To avoid this, add a dependency on the kernel deploy to image do_build tasks.
This should avoid any circular dependency issues but equally ensure users
have their expectations met.

[YOCTO #5581]

(From OE-Core master rev: fe26b2379ecdbdb56acde8592bc0c2d95092a207)

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

Conflicts:
	meta/classes/image.bbclass

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/classes/image.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 7650594..0986858 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -95,6 +95,8 @@ inherit image-${IMAGE_TYPE_live}
 IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d)}'
 inherit image-${IMAGE_TYPE_vmdk}
 
+do_build[depends] += "virtual/kernel:do_deploy"
+
 python () {
     deps = " " + imagetypes_getdepends(d)
     d.appendVarFlag('do_rootfs', 'depends', deps)



More information about the Openembedded-commits mailing list