diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-29 14:36:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-29 16:27:31 +0000 |
commit | 32c5d84823de336163a4aeceeb390afc48eeaad6 (patch) | |
tree | a9609cf85a5747c950a2b1c4865de5933658f54a | |
parent | 369772c02b3d16cbb098484147b81d0b1f5d53e3 (diff) | |
download | poky-32c5d84823de336163a4aeceeb390afc48eeaad6.tar.gz |
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 rev: fe26b2379ecdbdb56acde8592bc0c2d95092a207)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 8217fb3254..cc65e3566d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -90,6 +90,8 @@ do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-nati | |||
90 | do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" | 90 | do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" |
91 | do_rootfs[recrdeptask] += "do_packagedata" | 91 | do_rootfs[recrdeptask] += "do_packagedata" |
92 | 92 | ||
93 | do_build[depends] += "virtual/kernel:do_deploy" | ||
94 | |||
93 | def build_live(d): | 95 | def build_live(d): |
94 | if base_contains("IMAGE_FSTYPES", "live", "live", "0", d) == "0": # live is not set but hob might set iso or hddimg | 96 | if base_contains("IMAGE_FSTYPES", "live", "live", "0", d) == "0": # live is not set but hob might set iso or hddimg |
95 | d.setVar('NOISO', base_contains('IMAGE_FSTYPES', "iso", "0", "1", d)) | 97 | d.setVar('NOISO', base_contains('IMAGE_FSTYPES', "iso", "0", "1", d)) |