diff options
author | 2021-03-15 23:21:30 +0900 | |
---|---|---|
committer | 2021-03-16 00:34:57 +0900 | |
commit | ac4076de9d5c517e144090487dc165538d15b0d2 (patch) | |
tree | 79fca3600469760d256cf8c9c0e791c9374dbf0b /filesystem/logical_partition.go | |
parent | aa52d66cd572d2cc62573078c02cad062e7ddeb5 (diff) |
bootimg signs image using verity_utils
Previously, bootimg signed the image using avbtool. This didn't work
because avbtool always requires that the partition size is given via
'--partition_size' parameter. The partition size is hard to estimate
especially when the image is not for a real physical partition, but for
a logical partition in a composite image.
With this change, the signing of bootimg is done by verity_utils.py
which internally uses avbtool. The python script is capable of
calculating the minimum required partition size when the partition size
is not given.
In addition, this change adds 'partition_name' property to the
`android_filesystem` module type so that we can customize the partition
name field in the vbmeta descriptor.
Bug: 180676957
Test: m microdroid-boot-5.10
Change-Id: I2e4aa626cf06a2177b4a8d90ff9b9006d2927ae4
Diffstat (limited to 'filesystem/logical_partition.go')
0 files changed, 0 insertions, 0 deletions