summaryrefslogtreecommitdiff
path: root/fastboot/socket.cpp
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@google.com>2020-05-12 16:21:41 -0700
committerSteve Muckle <smuckle@google.com>2020-05-17 17:01:25 -0700
commitbd98e254399872213a18731843692e3253fba88a (patch)
tree171be39f3b88b411434d34495368d8c4a7fb4a81 /fastboot/socket.cpp
parent9842adf7681caf510fca5928e139ca2b0b2601ab (diff)
fastbootd: copy AVB footer on boot image to end of block device
If the flashed boot image is smaller than the block device, the AVB footer will not be at the end of the partition. Although images are normally created to match the partition size the GKI boot.img must work on all devices, and the size of the boot partition will vary. Copy the AVB footer to the end of the partition before flashing, if it is not there already. Bug: 156036850 Change-Id: I11f0c7d32d1b6c74edd4f84f815d175605280cb8 Merged-In: I11f0c7d32d1b6c74edd4f84f815d175605280cb8
Diffstat (limited to 'fastboot/socket.cpp')
0 files changed, 0 insertions, 0 deletions