OSDN Git Service

bootsignature: includes dt image size for signed boot image
authorAnkit Gupta <agupta@cyngn.com>
Wed, 23 Dec 2015 22:16:37 +0000 (14:16 -0800)
committerSteve Kondik <steve@cyngn.com>
Thu, 25 Aug 2016 00:32:19 +0000 (17:32 -0700)
commit762287785b13f62fc2fd974eaf5dc82b20ea1300
tree60c269767a9daa1b07a6b7e3cd66476a474fce7b
parenta371a7181d0f755260cd661b85770d5afabf6aa3
bootsignature: includes dt image size for signed boot image

BootSignature truncates the bootimage since dt image size wasn't
considered while calculating the signable bootimage size and thus
target fails to boot. This patch includes the device tree size in
the boot image and prevents it from truncating it and makes the
target boot fine.

Issue-id: YAM-27
Change-Id: Ieaa396159130875768231602cd58eb865d222872
verity/BootSignature.java