mkimage : Fix generating multi and script images
authorPhilippe De Swert <philippedeswert@gmail.com>
Thu, 3 Dec 2015 22:11:23 +0000 (00:11 +0200)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 8 Dec 2015 16:59:47 +0000 (16:59 +0000)
commit184be0ddb40188394a9118753e862a2a2143a947
tree6df5ba24180a1709f45ded1f3a42d123fcf5c614
parent1486a1a367e849f3cd7352fc42e20fd8e8928bf2
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