summaryrefslogtreecommitdiff
path: root/scripts/update_device.py
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2019-02-25 22:33:56 -0800
committerTreehugger Robot <treehugger-gerrit@google.com>2019-03-01 04:09:03 +0000
commite69ca5fb86ae1db1e44a3ba5371b8471c629ca8c (patch)
tree76f31f4d2626c158a82807db7714d2021b157f84 /scripts/update_device.py
parentcebb6882f8dfc87231d64e9a0dba969666e013a4 (diff)
Allow creation of a logical partition
- InstallPlan: allow source partition to be missing if size == 0 - DeltaPerformer: don't open source partition if size == 0 Also: - DeltaPerformer: test for source_fd_ before using it (to avoid segfault) - Fix DeltaPerformerTest to generate payloads with correct source sizes and paths. Previously, this works because source_path is always set even when source_size = 0. Bug: 124958572 Test: python system/update_engine/scripts/update_device.py <ota-img> Test: update_engine_unittests Change-Id: I53bda1d12accdf91e7fa616be5da562e189038d5
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions