diff options
author | 2019-01-25 12:30:58 -0800 | |
---|---|---|
committer | 2019-01-28 11:10:48 -0800 | |
commit | bb2658d5e2b9cbf3bf9ff30dc25f4f3aeb85e94a (patch) | |
tree | 63e7e7233009b127b7ae7ae75fcf79e4ef963abb /tools/extract_kernel.py | |
parent | 47b53c4136e489b21f9b11b977c0e356dfafca20 (diff) |
releasetools: Really allow removing partitions
- Add hashtree_info to EmptyImage so that BlockDifference.Compute()
can accept EmptyImage() as target image, which is the case when
a partition is removed.
- BlockDifference also checks source_info_dict to determine
whether a partition is dynamic. When a partition is removed,
its name does not appear in target_info_dict.
- Add tests to ensure DynamicPartitionDifference() still works.
Test: DynamicPartitionDifferenceTest
Test: test_blockimgdiff
Change-Id: Iadb1db075f5dc344db6d5ade358c83b01231e443
Diffstat (limited to 'tools/extract_kernel.py')
0 files changed, 0 insertions, 0 deletions