From 168d8dc2778acd318e7620a260b90aaa2b195d02 Mon Sep 17 00:00:00 2001 From: Alexandre Roux D'Anzi Date: Mon, 1 Feb 2021 09:40:07 +0100 Subject: [PATCH] don't pack system image --- tools/releasetools/ota_from_target_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 8c0b7151cf..8820b20fee 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -930,7 +930,7 @@ def GetBlockDifferences(target_zip, source_zip, target_info, source_info, assert blockimgdiff_version >= 3 block_diff_dict = collections.OrderedDict() - partition_names = ["system", "vendor", "product", "odm", "system_ext"] + partition_names = ["vendor", "product", "odm", "system_ext"] for partition in partition_names: if not HasPartition(target_zip, partition): continue @@ -945,7 +945,7 @@ def GetBlockDifferences(target_zip, source_zip, target_info, source_info, else: block_diff_dict[partition] = GetIncrementalBlockDifferenceForPartition( partition) - assert "system" in block_diff_dict +# assert "system" in block_diff_dict # Get the block diffs from the device specific script. If there is a # duplicate block diff for a partition, ignore the diff in the generic script -- GitLab