summaryrefslogtreecommitdiff
path: root/scripts/update_device.py
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2017-10-25 17:25:21 -0700
committerSen Jiang <senj@google.com>2017-10-27 19:52:06 +0000
commit34c711a0bd9d8ff0650ce18cbcaa436c6720fd6a (patch)
treebc639309d73467395b882c28f823559ad33b8d02 /scripts/update_device.py
parent908da19072b9a28bb4de87959a96bcf2df7679b4 (diff)
Remove duplicates in ab_partitions.txt
ab_partitions.txt is populated by AB_OTA_PARTITIONS which might be appended in multiple makefiles resulting in duplicates, currently this will result in payload being larger because it will include the operations for that partition twice and the client will write that partition twice when applying that payload. This patch uses awk in brillo_update_payload when reading ab_partitions.txt to remove the duplicates. Test: generate a payload with duplicated entries in ab_partitions.txt Change-Id: I07bd2401a64fbc77bbdc632901016e3860dee8d9
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions