OSDN Git Service

releasetools: Pack the offset/length for metadata.
authorTao Bao <tbao@google.com>
Sat, 4 Feb 2017 00:49:39 +0000 (16:49 -0800)
committerTao Bao <tbao@google.com>
Sat, 4 Feb 2017 00:50:25 +0000 (16:50 -0800)
commit2dd1c4837712a1ec3f5c9dc7d861247894a1eb4f
treeee3c28a8b68c78a30f6f0100b9b528850ebc4f86
parent1604b38040fec75cadc64f46de9307c52e7e9bc7
releasetools: Pack the offset/length for metadata.

For streaming OTAs, we will also need the info in the metadata entry
(META-INF/com/android/metadata). Compute and pack its offset/length
values into 'ota-streaming-property-files'.

Bug: 34986195
Test: Create an OTA package and check the offset/length values.

Change-Id: Id150700f2bc9bff02467cda9fe8927c8a374412a
tools/releasetools/ota_from_target_files.py