[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] image.bbclass: Depend on virtual/kernel:do_deploy
From:       martin.jansa () gmail ! com (Martin Jansa)
Date:       2013-11-29 15:38:56
Message-ID: 20131129153856.GB2860 () jama
[Download RAW message or body]

On Fri, Nov 29, 2013 at 02:36:42PM +0000, Richard Purdie wrote:
> 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.

Acked-By: Martin Jansa <Martin.Jansa at gmail.com>

> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 8217fb3..cc65e35 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 do_rootfs[depends] += \
> "virtual/update-alternatives-native:do_populate_sysroot \
> update-rc.d-native:do_populate_sysroot" do_rootfs[recrdeptask] += "do_packagedata"
> 
> +do_build[depends] += "virtual/kernel:do_deploy"
> +
> def build_live(d):
> if base_contains("IMAGE_FSTYPES", "live", "live", "0", d) == "0": # live is not set \
> but hob might set iso or hddimg d.setVar('NOISO', base_contains('IMAGE_FSTYPES', \
> "iso", "0", "1", d)) 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20131129/2351de11/attachment.sig>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic