]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Sorted ctypes to avoid basehash error
authorGerson Fernando Budke <nandojve@gmail.com>
Fri, 22 Sep 2017 10:30:06 +0000 (07:30 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Sep 2017 16:53:18 +0000 (17:53 +0100)
commit7401ef4d816030bd6844e2e1f1910ac86cdcbe70
treeb148ce106e6c18efe4aaea828c2e7058de6b6770
parent6c6a06bb806ecd496bb1c3ad723f074ccb454076
image.bbclass: Sorted ctypes to avoid basehash error

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.

(From OE-Core rev: 271f1a5f65b8685a1e3645026876251122ef3974)

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass