[OE-core] [PATCH] image.bbclass: Sorted ctypes to avoid basehash error

Tom Rini trini at konsulko.com
Thu Sep 21 11:39:41 UTC 2017


On Thu, Sep 21, 2017 at 07:15:01AM +0200, Martin Hundebøll wrote:
> 
> 
> On 2017-09-19 19:15, Gerson Fernando Budke wrote:
> >When selected multiple subimages a similar error could happend:
> >   Variable do_image_cpio[subimages] value changed \
> >     from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
> >To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.
> >
> >This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
> >order and consequently 'do_image_cpio' have the same hash.
> >
> >Signed-off-by: Gerson Fernando Budke <nandojve at gmail.com>
> 
> Tested-by: Martin Hundebøll <mnhu at prevas.dk>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom



More information about the Openembedded-core mailing list