[OE-core] [PATCH] image.bbclass: Ensure IMAGE_FSTYPES is fully evaluated before live/live logic

Otavio Salvador otavio at ossystems.com.br
Fri Jun 27 13:11:39 UTC 2014


On Fri, Jun 27, 2014 at 9:42 AM, Tom Rini <tom.rini at gmail.com> wrote:
> On Thu, Jun 26, 2014 at 02:25:34PM -0300, Otavio Salvador wrote:
>> On Thu, Jun 26, 2014 at 9:27 AM, Tom Rini <tom.rini at gmail.com> wrote:
>> > Incase we have overrides applied to IMAGE_FSTYPES we need to make sure
>> > that we evaluate it fully before performing the live and vmdk logic
>> > checks.
>> >
>> > Signed-off-by: Tom Rini <tom.rini at gmail.com>
>>
>> Do you have an example how it used to fail?
>
> Sure:
> diff --git a/meta/recipes-core/images/build-appliance-image_8.0.bb b/meta/recipes-core/images/build-appliance-image_8.0.bb
> index 7b70025..23bb02e 100644
> --- a/meta/recipes-core/images/build-appliance-image_8.0.bb
> +++ b/meta/recipes-core/images/build-appliance-image_8.0.bb
> @@ -17,7 +17,7 @@ IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
>  APPEND += "quiet"
>
>  DEPENDS = "zip-native"
> -IMAGE_FSTYPES = "vmdk"
> +IMAGE_FSTYPES_x86-64 = "vmdk"
>
>  inherit core-image
>
> And now you won't get vmdk images on qemux86-64 (same for live, did the
> same proof-of-concept there when working up the patch).

Isn't it a bug in BitBake?

I'd expect it to work fine. Richard, can you provide some feedback?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list