[OE-core] [PATCH] image_types: use COMPRESSIONTYPES variable for backward compatibility

Richard Purdie richard.purdie at linuxfoundation.org
Fri Aug 19 14:45:47 UTC 2016


On Fri, 2016-08-19 at 17:35 +0300, Ed Bartosh wrote:
> Recent renaming of COMPRESSIONTYPES variable can break recipes that
> still use it. Including value of COMPRESSIONTYPES variable into
> CONVERSIONTYPES should prevent this.
> 
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
> ---
>  meta/classes/image_types.bbclass | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

Does this actually work? Won't COMPRESSION_CMD be unset in these cases
so it would just trigger further failures?

Perhaps we should just error and tell the user if COMPRESSION_TYPES is
set (in sanity.bbclass?).

Cheers,

Richard



More information about the Openembedded-core mailing list