diff options
author | David Zeuthen <zeuthen@google.com> | 2017-04-19 14:25:19 -0400 |
---|---|---|
committer | David Zeuthen <zeuthen@google.com> | 2017-04-19 14:45:50 -0400 |
commit | 2bc232b84e9b84df64aa4b582caf6b74c5aba785 (patch) | |
tree | 4d4fff58ea5cf6dbb7acac6217b4bac50fbaafab /README.md | |
parent | b60834f7a4a8e86001059584f26820adb2a7e651 (diff) | |
download | avb-2bc232b84e9b84df64aa4b582caf6b74c5aba785.tar.gz |
avbtool: Add 'resize_image' command.
This only works on images with AVB footers. This feature is needed for
some Treble use-cases where a "golden" system.img is used across
devices with varying 'system' partition sizes.
Bug: 36029318
Test: New unit tests and all unit tests pass.
Change-Id: Idc0c31a79157c52249b3ebcd02c1c3bc5228de7f
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -243,6 +243,13 @@ hashtree is also appended to the image. [--signing_helper /path/to/external/signer] \ [--append_to_release_string STR] +The size of an image with integrity footers can be changed using the +`resize_image` command: + + $ avbtool resize_image \ + --image IMAGE \ + --partition_size SIZE + The integrity footer on an image can be removed from an image. The hashtree can optionally be kept in place. |