]> code.ossystems Code Review - openembedded-core.git/commit
image_types: Refactor compression code into a generic compression solution
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Feb 2012 12:43:49 +0000 (12:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Feb 2012 12:20:59 +0000 (12:20 +0000)
commitb7e4ed41ee480f00b7265341e9e2d2c2b9135143
tree2b373ab7f03775dd338d929ccf302ba85df95f4f
parent70c224d80c2330cbb0fa8213b0c0d5a1c87459f6
image_types: Refactor compression code into a generic compression solution

The current approach of adding each different compressed image type doesn't
scale. This patch changes the code so compressed images for each form are
automatically available using the form <type>.<compression type> in
IMAGE_FSTYPES. This doesn't change any existing externally visible behaviour
and the image generation process becomes more efficient as a result too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/classes/image_types.bbclass