mkimage : Fix generating multi and script images
authorPhilippe De Swert <philippedeswert@gmail.com>
Thu, 3 Dec 2015 22:11:23 +0000 (00:11 +0200)
committerRaspbian forward porter <root@raspbian.org>
Thu, 17 Dec 2015 02:12:51 +0000 (02:12 +0000)
commit74a557bfc7936ef368c0a40138d10057747bafd8
tree4b31a1286ad94bd4cf74f4d83315a8013e42439d
parent3a8b7e57b9a2e826b0d3086e60da2ababcb4651e
mkimage : Fix generating multi and script images

Seems 92a655c3 broke creating multi and script type images.
Since the file1:file2:file3 string does not get split up,
it fails on trying to open an non-existing file.

mkimage -A arm -O linux -T multi -C none -d zImage:splash.bmp:device.dtb uimage
tools/mkimage: Can't open zImage:splash.bmp:device.dtb: No such file or directory

Since the sizes of the different parts seem to get added in the actual
routine that handles multi and script type images, we can probably skip the
bit of the code that causes the failure for that type of images.

Signed-off-by: Philippe De Swert <philippedeswert@gmail.com>
Gbp-Pq: Topic upstream/mkimage-fix-multi-script
Gbp-Pq: Name 0001-mkimage-Fix-generating-multi-and-script-images.patch
tools/mkimage.c