chenxiaolong / avbroot

Sign (and root) Android A/B OTAs with custom keys while preserving Android Verified Boot
GNU General Public License v3.0
436 stars 41 forks source link

avb: Add support for building minimally sized image #296

Closed chenxiaolong closed 1 month ago

chenxiaolong commented 1 month ago

Previously, for resizable images, the user had to guess an appropriate size for the final image that could fit all the AVB metadata. This commit adds a new --recompute-size option to the avb pack subcommand to generate a minimally sized image.

Fixes: #294